File tree Expand file tree Collapse file tree 1 file changed +6
-6
lines changed Expand file tree Collapse file tree 1 file changed +6
-6
lines changed Original file line number Diff line number Diff line change 11
11
zizmor :
12
12
# Advanced Security is not enabled on private repositories
13
13
if : github.repository == 'pypi/warehouse'
14
- name : Zizmor latest via Cargo
14
+ name : Zizmor
15
15
runs-on : ubuntu-24.04
16
16
permissions :
17
17
security-events : write
@@ -23,12 +23,12 @@ jobs:
23
23
uses : actions/checkout@v4
24
24
with :
25
25
persist-credentials : false
26
- - name : Setup Rust
27
- uses : actions-rust-lang /setup-rust-toolchain@v1
28
- - name : Get zizmor
29
- run : cargo install zizmor
26
+ - name : Setup Python
27
+ uses : actions/setup-python@v5
28
+ with :
29
+ python-version-file : ' .python-version '
30
30
- name : Run zizmor
31
- run : zizmor --format sarif . > results.sarif
31
+ run : pipx run zizmor --format sarif . > results.sarif
32
32
- name : Upload SARIF file
33
33
uses : github/codeql-action/upload-sarif@v3
34
34
with :
You can’t perform that action at this time.
0 commit comments