Skip to content

Commit

Permalink
coursier/setup-action can bring sbt
Browse files Browse the repository at this point in the history
  • Loading branch information
bjaglin committed Jan 11, 2025
1 parent 04d75ff commit 784954e
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 6 deletions.
11 changes: 7 additions & 4 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,8 @@ jobs:
- uses: actions/checkout@v4
- uses: coursier/setup-action@v1
with:
apps: sbt
jvm: zulu:${{ matrix.jvm }}
- uses: sbt/setup-sbt@v1
- if: ${{ matrix.os != 'windows' }}
run: sbt test
- if: ${{ matrix.os == 'windows' }}
Expand All @@ -32,15 +32,17 @@ jobs:
steps:
- uses: actions/checkout@v4
- uses: coursier/setup-action@v1
- uses: sbt/setup-sbt@v1
with:
apps: sbt
- run: sbt ci-docs
formatting:
name: Scalafmt and Scalafix
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: coursier/setup-action@v1
- uses: sbt/setup-sbt@v1
with:
apps: sbt
- run: ./bin/scalafmt --test
- run: sbt "dogfoodScalafixInterfaces; scalafixAll --check"
mima:
Expand All @@ -51,5 +53,6 @@ jobs:
with:
fetch-depth: 0
- uses: coursier/setup-action@v1
- uses: sbt/setup-sbt@v1
with:
apps: sbt
- run: sbt versionPolicyCheck
3 changes: 2 additions & 1 deletion .github/workflows/deploy-website.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,8 @@ jobs:
with:
fetch-depth: 0
- uses: coursier/setup-action@v1
- uses: sbt/setup-sbt@v1
with:
apps: sbt
- name: Publish ${{ github.ref }} (without wiping sonatype-stats)
run: |
git restore --source=origin/gh-pages --worktree sonatype-stats
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,8 @@ jobs:
fetch-depth: 0
- uses: coursier/setup-action@v1
with:
apps: sbt
jvm: temurin:8
- uses: sbt/setup-sbt@v1
- uses: olafurpg/setup-gpg@v3
- name: Check that major or minor was bumped upon compatibility breakage
if: startsWith(github.ref, 'refs/tags/v')
Expand Down

0 comments on commit 784954e

Please sign in to comment.