Skip to content

Commit 075fc19

Browse files
committed
Verify checksum of codecov script
1 parent bb49560 commit 075fc19

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

.github/workflows/build.yaml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -147,4 +147,8 @@ jobs:
147147
run: yarn lint
148148

149149
- name: Test coverage
150-
run: bash <(curl -s --retry 5 --retry-delay 2 --connect-timeout 2 https://codecov.io/bash)
150+
run: |
151+
curl -s https://codecov.io/bash > codecov
152+
VERSION=$(grep 'VERSION=\".*\"' codecov | cut -d'"' -f2)
153+
sha256sum -c <(curl -s https://raw.githubusercontent.com/codecov/codecov-bash/${VERSION}/SHA256SUM)
154+
bash codecov

0 commit comments

Comments
 (0)