Skip to content

Commit 3e77720

Browse files
fix: use OIDC for Codecov (#124)
1 parent 84666a9 commit 3e77720

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

.github/workflows/rust.yml

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,10 @@ on:
1010
env:
1111
CARGO_TERM_COLOR: always
1212

13+
permissions:
14+
contents: read
15+
id-token: write
16+
1317
jobs:
1418
build:
1519
strategy:
@@ -52,9 +56,8 @@ jobs:
5256
with:
5357
files: ./codecov.json
5458
fail_ci_if_error: true
55-
token: ${{ secrets.CODECOV_TOKEN }}
59+
use_oidc: true
5660
- name: Lint
5761
run: cargo fmt --all -- --check
5862
- name: Clippy
5963
run: cargo clippy --all-targets --all-features
60-

0 commit comments

Comments
 (0)