Skip to content

Update actions/checkout action to v4.1.0 #103

Update actions/checkout action to v4.1.0

Update actions/checkout action to v4.1.0 #103

Workflow file for this run

name: PR Tests
on:
pull_request:
branches: [ main ]
jobs:
test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@3df4ab11eba7bda6032a0b82a6bb43b11571feac # v4
with:
fetch-depth: 0
- name: Set up Java 8
uses: actions/setup-java@v3
with:
distribution: temurin
java-version: 8
cache: sbt
- name: Lint
run: sbt scalafmtCheck
- name: Test
run: sbt +test
- name: Test Coverage
run: sbt coverage test
- name: Coverage Report
run: sbt coverageReport
- name: Upload coverage to Codecov
uses: codecov/codecov-action@v3
with:
token: ${{ secrets.CODECOV_TOKEN }}
fail_ci_if_error: true