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

Use OIDC for codecov #11

Merged
merged 1 commit into from
May 22, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading