Skip to content

Commit

Permalink
Merge pull request #324 from commonmark/bump-codecov
Browse files Browse the repository at this point in the history
CI: Update codecov action
  • Loading branch information
robinst authored Apr 27, 2024
2 parents 7dcc85b + 0c1378d commit dd0a4be
Showing 1 changed file with 8 additions and 4 deletions.
12 changes: 8 additions & 4 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ jobs:
java: [11, 17, 21]
steps:
- name: Checkout sources
uses: actions/checkout@v2
uses: actions/checkout@v4

- name: Set up JDK
uses: actions/setup-java@v2
Expand All @@ -25,9 +25,10 @@ jobs:

coverage:
runs-on: ubuntu-latest
if: ${{ github.event_name == 'push' }}
steps:
- name: Checkout sources
uses: actions/checkout@v2
uses: actions/checkout@v4

- name: Set up JDK
uses: actions/setup-java@v2
Expand All @@ -39,13 +40,16 @@ jobs:
run: mvn -B -Pcoverage clean test jacoco:report-aggregate

- name: Publish coverage
uses: codecov/codecov-action@v1
uses: codecov/codecov-action@v4
with:
fail_ci_if_error: true
token: ${{ secrets.CODECOV_TOKEN }}

android-compatibility:
runs-on: ubuntu-latest
steps:
- name: Checkout sources
uses: actions/checkout@v2
uses: actions/checkout@v4

- name: Set up JDK
uses: actions/setup-java@v2
Expand Down

0 comments on commit dd0a4be

Please sign in to comment.