From 910be01c3bf9ff9512167db006351ab66efb87b6 Mon Sep 17 00:00:00 2001 From: xuwei-k <6b656e6a69@gmail.com> Date: Sun, 19 Jan 2025 19:34:45 +0900 Subject: [PATCH] add setup-sbt action --- .github/workflows/ci.yml | 2 ++ .github/workflows/release.yml | 1 + 2 files changed, 3 insertions(+) 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: