Skip to content

Commit

Permalink
Fix actions that require sbt
Browse files Browse the repository at this point in the history
Because sbt is no longer bundled in the Github Ubuntu runner,
we need to "import it" explicitly in the actions.

All the dependency updates and releases are blocked until we merge this.

Signed-off-by: Ignacio Lucero <[email protected]>
  • Loading branch information
houcros committed Jan 6, 2025
1 parent 51f5ee8 commit a41aed4
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 2 additions & 0 deletions .github/workflows/pr-validation.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ jobs:
~/.sbt
~/.cache/coursier/v1
key: ${{ runner.os }}-sbt-ivy-cache-${{ hashFiles('**/build.sbt') }}-${{ hashFiles('**/plugins.sbt') }}-${{ hashFiles('**/build.properties') }}
- uses: sbt/setup-sbt@v1
- name: Check formatting
run: sbt scalafmtCheckAll

Expand All @@ -31,5 +32,6 @@ jobs:
~/.sbt
~/.cache/coursier/v1
key: ${{ runner.os }}-sbt-ivy-cache-${{ hashFiles('**/build.sbt') }}-${{ hashFiles('**/plugins.sbt') }}-${{ hashFiles('**/build.properties') }}
- uses: sbt/setup-sbt@v1
- name: Compile and test
run: sbt docs/mdoc +test +doc version +mimaReportBinaryIssues
2 changes: 1 addition & 1 deletion .github/workflows/scala-steward.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ jobs:
with:
app_id: 162267
private_key: ${{ secrets.SCALA_STEWARD_APP_PRIVATE_KEY }}

- uses: sbt/setup-sbt@v1
- name: Launch Scala Steward
uses: scala-steward-org/scala-steward-action@v2
with:
Expand Down

0 comments on commit a41aed4

Please sign in to comment.