File tree Expand file tree Collapse file tree 5 files changed +43
-0
lines changed
Expand file tree Collapse file tree 5 files changed +43
-0
lines changed Original file line number Diff line number Diff line change 1313 steps :
1414 - name : Checkout working copy
1515 uses : actions/checkout@v4
16+ with :
17+ persist-credentials : false
1618 - name : ruff check
1719 uses : chartboost/ruff-action@v1
1820 with :
Original file line number Diff line number Diff line change 1919
2020 steps :
2121 - uses : actions/checkout@v4
22+ with :
23+ persist-credentials : false
2224 - uses : actions/setup-python@v5
2325 with :
2426 python-version : ${{ matrix.python-version }}
7981 - uses : actions/checkout@v4
8082 with :
8183 submodules : true
84+ persist-credentials : false
8285 - uses : actions/setup-python@v5
8386 with :
8487 python-version : ${{ matrix.python-version }}
Original file line number Diff line number Diff line change 5757
5858 steps :
5959 - uses : actions/checkout@v4
60+ with :
61+ persist-credentials : false
6062 - uses : actions/setup-python@v5
6163 with :
6264 python-version : ${{ matrix.python-version }}
7981 runs-on : ubuntu-latest
8082 steps :
8183 - uses : actions/checkout@v4
84+ with :
85+ persist-credentials : false
8286 - name : Build sdist
8387 uses : PyO3/maturin-action@v1
8488 with :
@@ -140,6 +144,7 @@ jobs:
140144 uses : actions/checkout@v4
141145 with :
142146 submodules : true
147+ persist-credentials : false
143148 - name : Set up Python ${{ matrix.python-version }}
144149 uses : actions/setup-python@v5
145150 with :
Original file line number Diff line number Diff line change 1313
1414 steps :
1515 - uses : actions/checkout@v4
16+ with :
17+ persist-credentials : false
1618 - run : cargo fmt --check
1719 - if : always()
1820 run : cargo clippy
2426 - uses : actions/checkout@v4
2527 with :
2628 submodules : true
29+ persist-credentials : false
2730 - run : cargo check
2831 - run : cargo test -r --verbose
2932
3538 - uses : actions/checkout@v4
3639 with :
3740 submodules : true
41+ persist-credentials : false
3842 - run : cargo update --verbose
3943 - run : cargo test -r --verbose
Original file line number Diff line number Diff line change 1+ name : Zizmor
2+
3+ on :
4+ push :
5+ pull_request :
6+
7+ jobs :
8+ zizmor :
9+ runs-on : ubuntu-latest
10+ permissions :
11+ contents : read
12+ security-events : write
13+
14+ steps :
15+ - name : Checkout repository
16+ uses : actions/checkout@v4
17+ with :
18+ persist-credentials : false
19+ - name : Install the latest version of uv
20+ uses : astral-sh/setup-uv@v4
21+ - name : Run zizmor
22+ run : uvx zizmor --format sarif . > results.sarif
23+ env :
24+ GH_TOKEN : ${{ secrets.GITHUB_TOKEN }}
25+ - name : Upload SARIF file
26+ uses : github/codeql-action/upload-sarif@v3
27+ with :
28+ sarif_file : results.sarif
29+ category : zizmor
You can’t perform that action at this time.
0 commit comments