Skip to content

Add setup-sbt to workflow #138

Add setup-sbt to workflow

Add setup-sbt to workflow #138

Workflow file for this run

name: CI
on: [push, workflow_dispatch]
jobs:
tests:
runs-on: ubuntu-latest
# The first two permissions are needed to interact with GitHub's OIDC Token endpoint.
# The second set of three permissions are needed to write test results back to GH
permissions:
id-token: write
contents: read
issues: read
checks: write
pull-requests: write
steps:
- uses: actions/checkout@v2
- uses: guardian/setup-scala@v1
- name: Run tests
run: sbt +test
- name: Publish Unit Test Results
uses: EnricoMi/publish-unit-test-result-action@v1
if: always() #runs even if there is a test failure
with:
files: target/test-reports/*.xml