File tree Expand file tree Collapse file tree 1 file changed +18
-2
lines changed Expand file tree Collapse file tree 1 file changed +18
-2
lines changed Original file line number Diff line number Diff line change @@ -3,6 +3,8 @@ on: [push, pull_request]
33jobs :
44 run :
55 runs-on : ubuntu-latest
6+ permissions :
7+ id-token : write
68 steps :
79 - name : Checkout
810 uses : actions/checkout@v4
1416 run : pip install -r requirements.txt
1517 - name : Run tests and collect coverage
1618 run : pytest --cov app
17- - name : Upload coverage to Codecov
18- uses : codecov/codecov-action@v5
19+ - name : Upload coverage to Codecov (arg token)
20+ uses : codecov/codecov-action@main
21+ with :
22+ verbose : true
23+ token : ${{ secrets.CODECOV_TOKEN }}
24+ - name : Upload coverage to Codecov (env token)
25+ uses : codecov/codecov-action@main
1926 with :
2027 verbose : true
2128 env :
2229 CODECOV_TOKEN : ${{ secrets.CODECOV_TOKEN }}
30+ - name : Upload coverage to Codecov (no token)
31+ uses : codecov/codecov-action@main
32+ with :
33+ verbose : true
34+ - name : Upload coverage to Codecov (oidc)
35+ uses : codecov/codecov-action@main
36+ with :
37+ verbose : true
38+ use_oidc : true
You can’t perform that action at this time.
0 commit comments