Skip to content

Commit

Permalink
Use setup-scala to provide sbt
Browse files Browse the repository at this point in the history
sbt has been removed from Github's base images. The recommendation from
DevX is to switch to using the setup-scala action to set up Java and Scala, along with sbt.
  • Loading branch information
bryophyta committed Dec 11, 2024
1 parent e6df322 commit a8bdc1d
Showing 1 changed file with 4 additions and 7 deletions.
11 changes: 4 additions & 7 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,13 +15,12 @@ jobs:
with:
role-to-assume: ${{ secrets.GU_RIFF_RAFF_ROLE_ARN }}
aws-region: eu-west-1
- uses: actions/setup-java@v3
with:
java-version: "11"
distribution: "corretto"
# See https://github.com/guardian/setup-java
- name: Setup Java and sbt
uses: guardian/setup-scala@v1
- uses: actions/setup-node@v3
with:
node-version-file: '.nvmrc'
node-version-file: ".nvmrc"
- name: Build Pluto lambda
run: |
./scripts/pluto-ci.sh
Expand All @@ -31,5 +30,3 @@ jobs:
- name: Compile Scala and upload artifacts to RiffRaff
run: |
./scripts/scala-ci.sh

0 comments on commit a8bdc1d

Please sign in to comment.