Merge pull request #1107 from crazy-max/ci-codecov-oidc

ci: use OIDC for Codecov uploads
This commit is contained in:
CrazyMax 2026-11-05 17:24:30 +01:00 • committed by GitHub
commit d0b8297dd5
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -17,6 +17,9 @@ on:
jobs:
test:
runs-on: ubuntu-latest
permissions:
contents: read
id-token: write # for Codecov authentication
steps:
-
name: Checkout
@ -32,4 +35,4 @@ jobs:
uses: codecov/codecov-action@303a32d7a59b442fa8d48b6a1cc6825c09c847a5 # v7.1.1
with:
files: ./coverage/clover.xml
token: ${{ secrets.CODECOV_TOKEN }}
use_oidc: true