Skip to content

Commit

Permalink
Use setup-scala as sbt has been removed from setup-java
Browse files Browse the repository at this point in the history
  • Loading branch information
bryophyta committed Dec 11, 2024
1 parent 4c7bd34 commit eff3597
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 eff3597

Please sign in to comment.