switch to Scala 3 #226
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Scalafmt | |
permissions: {} | |
on: | |
pull_request: | |
branches: ['**'] | |
jobs: | |
build: | |
name: Code is formatted | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout current branch (full) | |
uses: actions/checkout@v4 | |
with: | |
fetch-depth: 0 | |
persist-credentials: false | |
- name: Check project is formatted | |
uses: jrouly/scalafmt-native-action@v3 | |
with: | |
arguments: '--list --mode diff-ref=origin/main' |