Skip to content

Commit

Permalink
Use Java 21 when generating the coverage.
Browse files Browse the repository at this point in the history
  • Loading branch information
uhafner committed Jan 12, 2024
1 parent bbf0b46 commit 7db1dc9
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions .github/workflows/coverage.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: 'Codecov'
name: 'CodeCov'

on:
push:
Expand All @@ -19,17 +19,17 @@ jobs:
uses: actions/setup-java@v4
with:
distribution: 'temurin'
java-version: 21
java-version: '21'
check-latest: true
cache: 'maven'
- name: Set up Maven
uses: stCarolas/[email protected]
with:
maven-version: 3.9.5
- name: Build with Maven
run: mvn -V --color always -ntp clean verify
maven-version: 3.9.6
- name: Generate coverage with JaCoCo
run: mvn -V --color always -ntp clean verify '-Dgpg.skip'
- name: Upload coverage to Codecov
uses: codecov/codecov-action@v3
uses: codecov/codecov-action@v3.1.4
with:
files: 'target/site/jacoco/jacoco.xml'
token: ${{secrets.CODECOV_TOKEN}}

0 comments on commit 7db1dc9

Please sign in to comment.