Skip to content

Commit 16d54b4

Browse files
committed
GH-23 # Add zizmor to the CI
1 parent 2b13e68 commit 16d54b4

File tree

1 file changed

+17
-1
lines changed

1 file changed

+17
-1
lines changed

.github/workflows/rust.yml

Lines changed: 17 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,4 +43,20 @@ jobs:
4343
runs-on: ubuntu-latest
4444
steps:
4545
- uses: actions/checkout@v4
46-
- uses: obi1kenobi/cargo-semver-checks-action@v2
46+
- uses: obi1kenobi/cargo-semver-checks-action@v2
47+
48+
zizmor:
49+
runs-on: ubuntu-latest
50+
permissions:
51+
security-events: write
52+
contents: read # only needed for private repos
53+
actions: read # only needed for private repos
54+
steps:
55+
- name: Checkout repository
56+
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
57+
with:
58+
persist-credentials: false
59+
60+
- name: Run zizmor 🌈
61+
uses: zizmorcore/zizmor-action@f52a838cfabf134edcbaa7c8b3677dde20045018 # v0.1.1
62+

0 commit comments

Comments
 (0)