Update sbt-scalafmt to 2.6.2 #462
This file contains hidden or 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: Test | |
| on: | |
| push: | |
| branches: | |
| - main | |
| pull_request: | |
| branches: | |
| - main | |
| schedule: | |
| - cron: '0 12 * * 1' | |
| jobs: | |
| build: | |
| strategy: | |
| matrix: | |
| os: [ubuntu-24.04, windows-latest] | |
| runs-on: ${{ matrix.os }} | |
| steps: | |
| - uses: actions/checkout@v7 | |
| - uses: coursier/cache-action@v8 | |
| - uses: coursier/setup-action@v3 | |
| with: | |
| jvm: temurin:11 | |
| # ubuntu-24.04 runners no longer ship sbt preinstalled, so install | |
| # it via coursier. Pin to the sbt 1.x runner (2.x requires JDK 17+). | |
| # Kept in sync with sbt releases by Renovate. | |
| apps: sbt:1.12.14 | |
| - name: Run tests | |
| run: sbt scalafmtSbtCheck scalafmtCheckAll test scripted |