Skip to content

Commit

Permalink
Updating github actions, using oidc for codecov (#493)
Browse files Browse the repository at this point in the history
  • Loading branch information
divdavem authored Sep 6, 2024
1 parent fcb170e commit 3e8a9a4
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 3 deletions.
12 changes: 10 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,10 @@ jobs:
tests:
name: Tests

permissions:
id-token: write
contents: read

strategy:
matrix:
os: [ubuntu-latest, windows-latest]
Expand Down Expand Up @@ -44,15 +48,19 @@ jobs:
- name: Run end to end tests
run: npm run e2e:coverage

- uses: codecov/codecov-action@eaaf4bedf32dbdc6b720b63067d99c4d77d6047d #v3.1.4
- uses: codecov/codecov-action@e28ff129e5465c2c0dcc6f003fc735cb6ae0c673 #v4.5.0
with:
file: ./coverage/lcov.info
flags: ut
disable_search: true
use_oidc: true

- uses: codecov/codecov-action@eaaf4bedf32dbdc6b720b63067d99c4d77d6047d #v3.1.4
- uses: codecov/codecov-action@e28ff129e5465c2c0dcc6f003fc735cb6ae0c673 #v4.5.0
with:
file: ./coverage-e2e/lcov.info
flags: e2e
disable_search: true
use_oidc: true

- name: Build API documentation
run: npm run apidoc
2 changes: 1 addition & 1 deletion .github/workflows/update.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ jobs:
- run: npm install --ignore-scripts
- run: npm update --ignore-scripts
- name: Create pull request
uses: peter-evans/create-pull-request@153407881ec5c347639a548ade7d8ad1d6740e38 # v5.0.2
uses: peter-evans/create-pull-request@8867c4aba1b742c39f8d0ba35429c2dfa4b6cb20 # v7.0.1
with:
commit-message: 'chore(deps): update all dependencies'
branch: dependencies
Expand Down

0 comments on commit 3e8a9a4

Please sign in to comment.