Skip to content

Commit 3d14fe4

Browse files
yuzibotgross35
authored andcommitted
Add zizmor to check Github Actions (static analysis)
1 parent 81033ca commit 3d14fe4

1 file changed

Lines changed: 14 additions & 0 deletions

File tree

.github/workflows/main.yaml

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -216,6 +216,19 @@ jobs:
216216
run: ./ci/update-musl.sh
217217
- run: cargo clippy --workspace --all-targets
218218

219+
zizmor:
220+
name: Zizmor (Static analysis for GitHub Actions)
221+
runs-on: ubuntu-24.04
222+
permissions:
223+
security-events: write
224+
timeout-minutes: 10
225+
steps:
226+
- name: Checkout repository
227+
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
228+
229+
- name: Run zizmor
230+
uses: zizmorcore/zizmor-action@71321a20a9ded102f6e9ce5718a2fcec2c4f70d8 # v0.5.2
231+
219232
build-custom:
220233
name: Build custom target
221234
runs-on: ubuntu-24.04
@@ -390,6 +403,7 @@ jobs:
390403
- msrv
391404
- rustfmt
392405
- test
406+
- zizmor
393407
runs-on: ubuntu-24.04
394408
timeout-minutes: 10
395409
# GitHub branch protection is exceedingly silly and treats "jobs skipped because a dependency

0 commit comments

Comments
 (0)