Skip to content

Commit 2a0239c

Browse files
committed
fix zizmor
1 parent 19e5969 commit 2a0239c

5 files changed

Lines changed: 22 additions & 10 deletions

File tree

.github/workflows/docs.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,9 @@ jobs:
2525
persist-credentials: false
2626

2727
- name: Install Rust toolchain
28-
uses: dtolnay/rust-toolchain@fcf085fcb4b4b8f63f96906cd713eb52181b5ea4 # stable
28+
run: |
29+
rustup toolchain install nightly --profile minimal
30+
rustup default nightly
2931
3032
- name: Rust cache
3133
uses: Swatinem/rust-cache@779680da715d629ac1d338a641029a2f4372abb5 # v2

.github/workflows/lint.yml

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,9 @@ jobs:
2525
persist-credentials: false
2626

2727
- name: Install Rust toolchain
28-
uses: dtolnay/rust-toolchain@22a6a5b0f9f487c5f5587025ae9d4a1caf2a8a78 # clippy
28+
run: |
29+
rustup toolchain install nightly --profile minimal --component clippy
30+
rustup default nightly
2931
3032
- name: Rust cache
3133
uses: Swatinem/rust-cache@779680da715d629ac1d338a641029a2f4372abb5 # v2
@@ -50,9 +52,9 @@ jobs:
5052
persist-credentials: false
5153

5254
- name: Install Rust toolchain
53-
uses: dtolnay/rust-toolchain@fcf085fcb4b4b8f63f96906cd713eb52181b5ea4 # stable
54-
with:
55-
components: rustfmt
55+
run: |
56+
rustup toolchain install nightly --profile minimal --component rustfmt
57+
rustup default nightly
5658
5759
- name: Check Rust formatting
5860
run: cargo fmt --all --check

.github/workflows/release.yml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -34,9 +34,11 @@ jobs:
3434
persist-credentials: false
3535

3636
- name: Install Rust toolchain
37-
uses: dtolnay/rust-toolchain@fcf085fcb4b4b8f63f96906cd713eb52181b5ea4 # stable
37+
run: |
38+
rustup toolchain install nightly --profile minimal
39+
rustup default nightly
3840
3941
- name: Publish to crates.io
4042
run: cargo publish
4143
env:
42-
CARGO_REGISTRY_TOKEN: ${{ secrets.CARGO_REGISTRY_TOKEN }}
44+
CARGO_REGISTRY_TOKEN: ${{ secrets.CARGO_REGISTRY_TOKEN }} # zizmor: ignore[secrets-outside-env]

.github/workflows/security.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,9 @@ jobs:
2525
persist-credentials: false
2626

2727
- name: Install Rust toolchain
28-
uses: dtolnay/rust-toolchain@22a6a5b0f9f487c5f5587025ae9d4a1caf2a8a78 # clippy
28+
run: |
29+
rustup toolchain install nightly --profile minimal --component clippy
30+
rustup default nightly
2931
3032
- name: Rust cache
3133
uses: Swatinem/rust-cache@779680da715d629ac1d338a641029a2f4372abb5 # v2

.github/workflows/unit.yml

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,9 @@ jobs:
3131
persist-credentials: false
3232

3333
- name: Install Rust toolchain
34-
uses: dtolnay/rust-toolchain@fcf085fcb4b4b8f63f96906cd713eb52181b5ea4 # stable
34+
run: |
35+
rustup toolchain install nightly --profile minimal
36+
rustup default nightly
3537
3638
- name: Install latest cargo-nextest release
3739
uses: taiki-e/install-action@81ecf985428d5c2ea81dbf079bceca32bc9604ab # v2.62.43
@@ -62,7 +64,9 @@ jobs:
6264
persist-credentials: false
6365

6466
- name: Install Rust toolchain
65-
uses: dtolnay/rust-toolchain@fcf085fcb4b4b8f63f96906cd713eb52181b5ea4 # stable
67+
run: |
68+
rustup toolchain install nightly --profile minimal
69+
rustup default nightly
6670
6771
- name: Rust cache
6872
uses: Swatinem/rust-cache@779680da715d629ac1d338a641029a2f4372abb5 # v2

0 commit comments

Comments
 (0)