Skip to content

Commit cef5f8f

Browse files
committed
Update workflow
1 parent 624c513 commit cef5f8f

1 file changed

Lines changed: 5 additions & 7 deletions

File tree

.github/workflows/ci.yml

Lines changed: 5 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -87,19 +87,17 @@ jobs:
8787
contents: read
8888
id-token: write
8989
steps:
90+
- name: Checkout repository
91+
uses: actions/checkout@v6
92+
with:
93+
persist-credentials: false
9094
- name: Retrieve coverage report
9195
uses: actions/download-artifact@v7
9296
with:
9397
name: test-coverage
94-
path: /tmp/artifacts/coverage/
9598
- name: Hash artifacts (sha256)
96-
working-directory: /tmp/artifacts/coverage/
9799
run: |
98100
sha256sum coverage.out || shasum -a 256 coverage.out
99-
- name: Checkout repository
100-
uses: actions/checkout@v6
101-
with:
102-
persist-credentials: false
103101
- name: Upload coverage report to Codecov (OIDC)
104102
if: github.event_name == 'push' || (github.event_name == 'pull_request' && github.event.pull_request.head.repo.full_name == github.repository)
105103
uses: codecov/codecov-action@v5
@@ -114,4 +112,4 @@ jobs:
114112
with:
115113
verbose: true
116114
fail_ci_if_error: true
117-
files: /tmp/artifacts/coverage/coverage.out
115+
files: coverage.out

0 commit comments

Comments
 (0)