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 authored and damithc committed Aug 8, 2024
1 parent 4209f9c commit 93e00db
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 93e00db

Please sign in to comment.