Skip to content
This repository has been archived by the owner on Jun 18, 2024. It is now read-only.

Commit

Permalink
Use OIDC for codecov (#11)
Browse files Browse the repository at this point in the history
  • Loading branch information
ssbarnea authored May 22, 2024
1 parent 1b55446 commit 40fae61
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions .github/workflows/tox.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,8 @@ jobs:
platforms: linux,macos
build:
name: ${{ matrix.name }}
environment: test
permissions:
id-token: write # codecov
runs-on: ${{ matrix.os || 'ubuntu-22.04' }}
needs:
- prepare
Expand Down Expand Up @@ -99,8 +100,8 @@ jobs:
with:
name: ${{ matrix.passed_name }}
fail_ci_if_error: true
token: ${{ secrets.CODECOV_TOKEN }}
verbose: true # optional (default = false)
use_oidc: true # cspell:ignore oidc

- name: Archive logs
uses: actions/upload-artifact@v4
Expand Down

0 comments on commit 40fae61

Please sign in to comment.