Skip to content

Commit

Permalink
ci: bump codecov action and add token
Browse files Browse the repository at this point in the history
Tokenless uploads via older versions of the codecov action are no longer
reliable.
  • Loading branch information
rohanpm committed Nov 10, 2024
1 parent b416dc0 commit 57e906f
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .github/workflows/tox-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -54,10 +54,11 @@ jobs:
- name: Install pytest cov
run: pip install pytest-cov
- name: Upload coverage to Codecov
uses: codecov/codecov-action@v2
uses: codecov/codecov-action@v4
with:
fail_ci_if_error: true
verbose: true
token: ${{ secrets.CODECOV_TOKEN }}
bandit-exitzero:
runs-on: ubuntu-latest
steps:
Expand Down

0 comments on commit 57e906f

Please sign in to comment.