Skip to content

Commit

Permalink
chore: update GitHub actions and use oidc for codecov
Browse files Browse the repository at this point in the history
  • Loading branch information
divdavem committed Sep 9, 2024
1 parent 5d7b3a3 commit 673ebcd
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 3 deletions.
7 changes: 5 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,9 @@ on:
branches: [master]
jobs:
build:
permissions:
contents: read
id-token: write
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
Expand All @@ -17,10 +20,10 @@ jobs:
- run: npm run lint
- run: npm run format:check
- run: npm test -- --coverage
- uses: codecov/codecov-action@84508663e988701840491b86de86b666e8a86bed #v4.3.0
- uses: codecov/codecov-action@e28ff129e5465c2c0dcc6f003fc735cb6ae0c673 #v4.5.0
with:
file: coverage/lcov.info
disable_search: true
token: ${{ secrets.CODECOV_TOKEN }}
use_oidc: true
- run: npm run build
- run: npm run docs
2 changes: 1 addition & 1 deletion .github/workflows/update.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ jobs:
- run: npm install --ignore-scripts
- run: npm update --ignore-scripts
- name: Create pull request
uses: peter-evans/create-pull-request@6d6857d36972b65feb161a90e484f2984215f83e # v6.0.5
uses: peter-evans/create-pull-request@8867c4aba1b742c39f8d0ba35429c2dfa4b6cb20 # v7.0.1
with:
commit-message: 'chore: Update all dependencies'
branch: dependencies
Expand Down

0 comments on commit 673ebcd

Please sign in to comment.