Cache .zoneId
. Update dependencies.
#14
This file contains hidden or 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: DTC CI | |
on: | |
push: | |
branches: [ "master" ] | |
pull_request: | |
branches: [ "master" ] | |
#permissions: | |
# contents: read | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Set up JDK 11 | |
uses: actions/setup-java@v3 | |
with: | |
java-version: '11' | |
distribution: 'temurin' | |
cache: 'sbt' | |
- name: Run tests | |
run: sbt clean coverage validate | |
- name: Coverage Report | |
run: sbt coverageReport | |
- name: Upload coverage to Codecov | |
uses: codecov/codecov-action@v1 | |
dependency-graph: | |
name: Update Dependency Graph | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: scalacenter/sbt-dependency-submission@v2 |