Skip to content

Commit e2f0995

Browse files
committed
upgrade Codecov action & tokenless upload via OIDC
1 parent e20ac86 commit e2f0995

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

.github/workflows/ci.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,8 @@ jobs:
3131
test:
3232
name: Running tests
3333
runs-on: ubuntu-24.04-arm
34+
permissions:
35+
id-token: write
3436
steps:
3537
- name: Checkout Repo
3638
uses: actions/checkout@v4
@@ -51,8 +53,6 @@ jobs:
5153
--experimental-test-coverage --test-reporter=lcov --test-reporter-destination=lcov.info
5254
5355
- name: Upload coverage reports to Codecov
54-
uses: codecov/codecov-action@v4.0.1
56+
uses: codecov/codecov-action@v5
5557
with:
56-
token: ${{ secrets.CODECOV_TOKEN }}
57-
slug: cometkim/unicode-segmenter
58-
file: lcov.info
58+
use_oidc: true

0 commit comments

Comments
 (0)