Skip to content

Commit 3ae09bf

Browse files
authored
Merge pull request #176 from guardian/rachel/add-setup-scala-to-workflow
Add setup-sbt to workflow
2 parents 391e52c + 2e1cd3b commit 3ae09bf

2 files changed

Lines changed: 2 additions & 11 deletions

File tree

.github/workflows/ci.yml

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -15,12 +15,7 @@ jobs:
1515
steps:
1616
- name: Checkout
1717
uses: actions/checkout@v4
18-
- name: Setup JDK
19-
uses: actions/setup-java@v4
20-
with:
21-
distribution: corretto
22-
java-version: 11
23-
cache: sbt
18+
- uses: sbt/setup-sbt@v1.1.0
2419
- name: Build # and "Test" to apply after having some tests
2520
run: sbt compile
2621
- name: Test Summary

.github/workflows/release.yml

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -19,11 +19,7 @@ jobs:
1919
runs-on: ubuntu-latest
2020
steps:
2121
- uses: actions/checkout@v4
22-
- uses: actions/setup-java@v4
23-
with:
24-
distribution: corretto
25-
java-version: 11
26-
cache: sbt
22+
- uses: sbt/setup-sbt@v1.1.0
2723
- uses: actions/setup-node@v4
2824
with:
2925
node-version-file: .nvmrc

0 commit comments

Comments
 (0)