Update sbt-ci-release to 1.8.0 (#886) #408
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Codecov | |
on: | |
push: | |
branches: [master] | |
jobs: | |
codecov: | |
name: Run codecov on master | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: actions/setup-java@v4 | |
with: | |
distribution: adopt | |
java-version: 11 | |
- uses: actions/cache@v4 | |
with: | |
path: ~/.ivy2/cache | |
key: ivy-${{hashFiles('**/*.sbt')}} | |
restore-keys: ivy- | |
- uses: actions/cache@v4 | |
with: | |
path: ~/.sbt | |
key: sbt-${{hashFiles('**/*.sbt')}}-${{hashFiles('project/build.properties')}} | |
restore-keys: sbt- | |
- name: Generate coverage report | |
run: sbt clean coverage test coverageReport | |
- uses: codecov/codecov-action@v4 |