Skip to content

Commit 248a186

Browse files
committed
Run Zizmor using uvx
1 parent adc79ba commit 248a186

File tree

1 file changed

+5
-6
lines changed

1 file changed

+5
-6
lines changed

.github/workflows/zizmor.yml

+5-6
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# https://github.com/woodruffw/zizmor
2-
name: GitHub Actions Security Analysis with Zizmor
2+
name: Zizmor
33

44
on:
55
push:
@@ -22,12 +22,11 @@ jobs:
2222
uses: actions/checkout@v4
2323
with:
2424
persist-credentials: false
25-
- name: Setup Rust
26-
uses: actions-rust-lang/setup-rust-toolchain@v1
27-
- name: Get zizmor
28-
run: cargo install zizmor
25+
- uses: hynek/setup-cached-uv@v2
26+
2927
- name: Run zizmor
30-
run: zizmor --format sarif . > results.sarif
28+
run: uvx zizmor --format sarif . > results.sarif
29+
3130
- name: Upload SARIF file
3231
uses: github/codeql-action/upload-sarif@v3
3332
with:

0 commit comments

Comments
 (0)