Skip to content

Vue frontend for Project area (and other stuff) #413

Vue frontend for Project area (and other stuff)

Vue frontend for Project area (and other stuff) #413

Workflow file for this run

name: Scalafmt Check
on:
push:
paths:
- '**.scala'
- '**.sc'
- '**.sbt'
pull_request:
paths:
- '**.scala'
- '**.sc'
- '**.sbt'
jobs:
check:
runs-on: ubuntu-latest
env:
VERSION: 2.4.2
steps:
- uses: actions/checkout@v4
#- name: Cache Scalafmt native image
# id: cache
# uses: actions/cache@v1
# with:
# path: scalafmt-native
# key: ${{ runner.os }}-scalafmt-native-image-${{ hashFiles('scalafmt-native') }}
#- name: Download Scalafmt-native
# if: steps.cache.outputs.cache-hit != 'true'
# run: curl https://raw.githubusercontent.com/scalameta/scalafmt/master/bin/install-scalafmt-native.sh | bash -s -- $VERSION $GITHUB_WORKSPACE/scalafmt-native
- name: Check formatted
run: ./scalafmt --check --non-interactive