Skip to content

Commit

Permalink
Merge pull request #1399 from guardian/aa/fix-ci
Browse files Browse the repository at this point in the history
ci: Use `guardian/setup-scala` GitHub Action
  • Loading branch information
akash1810 authored Dec 16, 2024
2 parents 37679ca + 64ee2d0 commit b9d05c9
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 15 deletions.
7 changes: 1 addition & 6 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,12 +21,7 @@ jobs:
steps:
- uses: actions/checkout@v4

- name: Setup JDK
uses: actions/setup-java@v4
with:
distribution: corretto
java-version: 11
cache: sbt
- uses: guardian/setup-scala@v1

# Seed the build number with last number from TeamCity.
# This env var is used by the SBT build, and guardian/actions-riff-raff.
Expand Down
10 changes: 1 addition & 9 deletions .github/workflows/sbt-dependency-graph.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11,15 +11,7 @@ jobs:
- name: Checkout branch
id: checkout
uses: actions/checkout@eef61447b9ff4aafe5dcd4e0bbf5d482be7e7871 # v4.2.1
- name: Install Java
id: java
uses: actions/setup-java@b36c23c0d998641eff861008f374ee103c25ac73 # v4.2.0
with:
distribution: corretto
java-version: 17
- name: Install sbt
id: sbt
uses: sbt/setup-sbt@50a38cca700907fb9df65ecabcefb85ebaa424a7 # v1.1.4
- uses: guardian/setup-scala@v1
- name: Submit dependencies
id: submit
uses: scalacenter/sbt-dependency-submission@64084844d2b0a9b6c3765f33acde2fbe3f5ae7d3 # v3.1.0
Expand Down
1 change: 1 addition & 0 deletions .tool-versions
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
java corretto-11.0.25.9.1

0 comments on commit b9d05c9

Please sign in to comment.