Skip to content

Update sbt-scalafmt to 2.5.4 #2686

Update sbt-scalafmt to 2.5.4

Update sbt-scalafmt to 2.5.4 #2686

Workflow file for this run

on:
push:
pull_request:
jobs:
test:
runs-on: ${{ matrix.os }}
timeout-minutes: 60
strategy:
fail-fast: false
matrix:
include:
- java: 8
os: ubuntu-latest
- java: 11
os: macos-latest
- java: 11
os: ubuntu-latest
- java: 17
os: ubuntu-latest
steps:
- uses: actions/setup-java@7a6d8a8234af8eb26422e24e3006232cccaa061b # v4.6.0
with:
java-version: ${{matrix.java}}
distribution: temurin
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
- shell: bash
name: install sbt
run: curl -Ls https://raw.githubusercontent.com/dwijnand/sbt-extras/aff36a23f7213d94189aabfcc47a32b11f3a6fba/sbt > ./sbt && chmod 0755 ./sbt
- uses: coursier/cache-action@142d2738bd29f0eb9d44610828acb3a19809feab # v6.4.6
- run: |
case ${{ matrix.java}} in
17)
./sbt -v test
;;
*)
./sbt -v ";+check ;+cpl ;+test"
esac