Skip to content

Commit

Permalink
Merge pull request #75 from guardian/use-setup-java-support-for-sbt-c…
Browse files Browse the repository at this point in the history
…aching

Use `setup-java` support for sbt-caching
  • Loading branch information
rtyley committed Dec 11, 2022
2 parents 6cc781c + ac04e34 commit 82dfe14
Showing 1 changed file with 9 additions and 6 deletions.
15 changes: 9 additions & 6 deletions .github/workflows/ci.yml
Expand Up @@ -10,15 +10,18 @@ on:
- main

jobs:
sbt-build:
test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: coursier/cache-action@v6
- uses: olafurpg/setup-scala@v11
- name: Checkout
uses: actions/checkout@v3
- name: Setup JDK
uses: actions/setup-java@v3
with:
java-version: adopt@1.11
distribution: temurin
java-version: 11
cache: sbt
- name: Build and Test
env:
PROUT_GITHUB_ACCESS_TOKEN: ${{ secrets.PROUT_GITHUB_ACCESS_TOKEN }}
run: sbt test
run: sbt -v test

0 comments on commit 82dfe14

Please sign in to comment.