diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 8093aa0..b3c1279 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -24,6 +24,8 @@ jobs: ~/.cache/coursier key: ${{ runner.os }}-sbt-${{matrix.scala}}-${{ hashFiles('**/*.sbt') }} + - uses: sbt/setup-sbt@v1 + - name: Formatting run: | sbt scalafmtCheck test:scalafmtCheck scalafmtSbtCheck diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 93e4c9e..ac9c05c 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -24,6 +24,7 @@ jobs: distribution: temurin - uses: olafurpg/setup-gpg@v3 if: startsWith(github.ref, 'refs/tags/v') + - uses: sbt/setup-sbt@v1 - name: Publish ${{ github.ref }} run: sbt ci-release env: