Skip to content

Commit 6d36983

Browse files
authored
Use uvx to run Zizmor (#1379)
1 parent 3a5a49e commit 6d36983

File tree

1 file changed

+4
-5
lines changed

1 file changed

+4
-5
lines changed

.github/workflows/zizmor.yml

+4-5
Original file line numberDiff line numberDiff line change
@@ -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)