Skip to content

Commit 7789e40

Browse files
committed
fix(ci): replace dtolnay/rust-toolchain with inline rustup in zizmor check
zizmor flags dtolnay/rust-toolchain as superfluous-actions because ubuntu-latest runners already include rustup and cargo. Replace the action with a simple `rustup default stable` run step.
1 parent 03f88d9 commit 7789e40

1 file changed

Lines changed: 1 addition & 3 deletions

File tree

.github/workflows/check-workflows.yml

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -31,9 +31,7 @@ jobs:
3131
persist-credentials: false
3232

3333
- name: Set up rust toolchain
34-
uses: dtolnay/rust-toolchain@e97e2d8cc328f1b50210efc529dca0028893a2d9 # v1
35-
with:
36-
toolchain: stable
34+
run: rustup default stable
3735

3836
- name: Enable cargo cache
3937
uses: Swatinem/rust-cache@779680da715d629ac1d338a641029a2f4372abb5 # v2.8.2

0 commit comments

Comments
 (0)