Skip to content

Commit 3f5c374

Browse files
committed
chore(ci): harden zizmor install shell
1 parent c23906e commit 3f5c374

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

.github/workflows/ci.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -46,10 +46,12 @@ jobs:
4646
show-progress: false
4747

4848
- name: "Install zizmor"
49+
shell: bash
4950
env:
5051
ZIZMOR_SHA256: "dd96df044a6e8538d5f423790f453bdd03d49e5b2bcc38214acc41a2f1297839"
5152
ZIZMOR_VERSION: "1.29.0"
5253
run: |
54+
set -euo pipefail
5355
archive="$RUNNER_TEMP/zizmor.tar.gz"
5456
curl --proto '=https' --tlsv1.2 -fsSL "https://github.com/zizmorcore/zizmor/releases/download/v${ZIZMOR_VERSION}/zizmor-x86_64-unknown-linux-gnu.tar.gz" -o "$archive"
5557
echo "${ZIZMOR_SHA256} ${archive}" | sha256sum --check

0 commit comments

Comments
 (0)