Setting up cache #12
Workflow file for this run
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: Build | |
on: | |
push: | |
branches: [ main ] | |
pull_request: | |
branches: [ main ] | |
jobs: | |
test: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v3 | |
- name: Set up our JDK environment | |
uses: actions/setup-java@v3 | |
with: | |
distribution: 'temurin' | |
java-version: 19 | |
- name: Install dependencies and run tests | |
run: ./gradlew test koverXmlReport | |
- name: Upload coverage to Codecov | |
uses: codecov/codecov-action@v3 |