Skip to content

Commit

Permalink
Update Codecov Action to v4
Browse files Browse the repository at this point in the history
The current version (v3) of the codecov action had previously stopped
working (nus-cs2103-AY2324S2/forum#729), and
may stop working again in the future.

Let's update the codecov action to the latest version (v4) to minimize
the chance of it breaking, and use the format as recommended in
https://github.com/codecov/codecov-action/blob/main/README.md.
  • Loading branch information
aureliony committed Aug 1, 2024
1 parent 490adfa commit a11bbfd
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/gradle.yml
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,6 @@ jobs:

- name: Upload coverage reports to Codecov
if: runner.os == 'Linux'
uses: codecov/codecov-action@v3
env:
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}
uses: codecov/codecov-action@v4
with:
token: ${{ secrets.CODECOV_TOKEN }}

0 comments on commit a11bbfd

Please sign in to comment.