Skip to content

Commit 0facdeb

Browse files
authored
Use locked install for zizmor (#2350)
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.
1 parent 7af5ade commit 0facdeb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/zizmor.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,6 @@ jobs:
2323
with:
2424
persist-credentials: false
2525
- name: Install zizmor
26-
run: cargo install zizmor
26+
run: cargo install --locked zizmor
2727
- name: Run zizmor
2828
run: zizmor .github/workflows

0 commit comments

Comments
 (0)