Skip to content

Commit

Permalink
Use locked install for zizmor (#2350)
Browse files Browse the repository at this point in the history
To be on the safe side when installing zizmor and it's dependencies
we're using a locked installation, meaning that the dependencies
and their versions are taken from the Cargo.lock file.

This will hopefully reduce the chances of having the pipeline
randomly fail due to updated dependencies down the line.
  • Loading branch information
githubnemo authored Jan 29, 2025
1 parent 7af5ade commit 0facdeb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/zizmor.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,6 @@ jobs:
with:
persist-credentials: false
- name: Install zizmor
run: cargo install zizmor
run: cargo install --locked zizmor
- name: Run zizmor
run: zizmor .github/workflows

0 comments on commit 0facdeb

Please sign in to comment.