Skip to content

Commit

Permalink
Merge pull request #57 from guardian/db/add-setup-sbt-in-workflow
Browse files Browse the repository at this point in the history
Add setup-sbt to workflow
  • Loading branch information
emdash-ie authored Dec 4, 2024
2 parents d1aff05 + 0e38622 commit 704ad00
Showing 1 changed file with 2 additions and 7 deletions.
9 changes: 2 additions & 7 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,18 +18,13 @@ jobs:
steps:
- uses: actions/checkout@v2

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

- name: Run tests
run: sbt +test

- name: Publish Unit Test Results
uses: EnricoMi/publish-unit-test-result-action@v1
uses: EnricoMi/publish-unit-test-result-action@v2
if: always() #runs even if there is a test failure
with:
files: target/test-reports/*.xml

0 comments on commit 704ad00

Please sign in to comment.