Skip to content

Commit 980e36b

Browse files
committed
Pin rust-toolchain action to a commit hash
1 parent 82432be commit 980e36b

File tree

1 file changed

+15
-7
lines changed

1 file changed

+15
-7
lines changed

.github/workflows/ci.yaml

Lines changed: 15 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -45,9 +45,10 @@ jobs:
4545
with:
4646
persist-credentials: false
4747

48-
- uses: dtolnay/rust-toolchain@stable
48+
- uses: dtolnay/rust-toolchain@efa25f7f19611383d5b0ccf2d1c8914531636bf9
4949
with:
5050
components: clippy
51+
toolchain: stable
5152

5253
- uses: Swatinem/rust-cache@c19371144df3bb44fab255c43d04cbc2ab54d1c4 # v2.9.1
5354
with:
@@ -148,9 +149,10 @@ jobs:
148149
musl-tools: ${{ matrix.dependencies.musl-tools || false }}
149150
gcc-aarch64-linux-gnu: ${{ matrix.dependencies.gcc-aarch64-linux-gnu || false }}
150151

151-
- uses: dtolnay/rust-toolchain@stable
152+
- uses: dtolnay/rust-toolchain@efa25f7f19611383d5b0ccf2d1c8914531636bf9
152153
with:
153154
targets: ${{ join(matrix.targets, ',') }}
155+
toolchain: stable
154156

155157
- name: Setup Android NDK
156158
if: ${{ contains(matrix.targets, 'aarch64-linux-android') }}
@@ -224,7 +226,9 @@ jobs:
224226
with:
225227
persist-credentials: false
226228

227-
- uses: dtolnay/rust-toolchain@stable
229+
- uses: dtolnay/rust-toolchain@efa25f7f19611383d5b0ccf2d1c8914531636bf9
230+
with:
231+
toolchain: stable
228232

229233
- uses: Swatinem/rust-cache@c19371144df3bb44fab255c43d04cbc2ab54d1c4 # v2.9.1
230234
with:
@@ -331,9 +335,10 @@ jobs:
331335
- name: Check for redundant test patches
332336
run: python scripts/check_redundant_patches.py
333337

334-
- uses: dtolnay/rust-toolchain@stable
338+
- uses: dtolnay/rust-toolchain@efa25f7f19611383d5b0ccf2d1c8914531636bf9
335339
with:
336340
components: clippy
341+
toolchain: stable
337342

338343
- name: run clippy on wasm
339344
run: cargo clippy --manifest-path=crates/wasm/Cargo.toml -- -Dwarnings
@@ -387,7 +392,7 @@ jobs:
387392
with:
388393
persist-credentials: false
389394

390-
- uses: dtolnay/rust-toolchain@master
395+
- uses: dtolnay/rust-toolchain@efa25f7f19611383d5b0ccf2d1c8914531636bf9
391396
with:
392397
toolchain: ${{ env.NIGHTLY_CHANNEL }}
393398
components: miri
@@ -413,7 +418,9 @@ jobs:
413418
with:
414419
persist-credentials: false
415420

416-
- uses: dtolnay/rust-toolchain@stable
421+
- uses: dtolnay/rust-toolchain@efa25f7f19611383d5b0ccf2d1c8914531636bf9
422+
with:
423+
toolchain: stable
417424

418425
- uses: Swatinem/rust-cache@c19371144df3bb44fab255c43d04cbc2ab54d1c4 # v2.9.1
419426
with:
@@ -485,9 +492,10 @@ jobs:
485492
with:
486493
persist-credentials: false
487494

488-
- uses: dtolnay/rust-toolchain@stable
495+
- uses: dtolnay/rust-toolchain@efa25f7f19611383d5b0ccf2d1c8914531636bf9
489496
with:
490497
target: wasm32-wasip1
498+
toolchain: stable
491499

492500
- uses: Swatinem/rust-cache@c19371144df3bb44fab255c43d04cbc2ab54d1c4 # v2.9.1
493501
with:

0 commit comments

Comments
 (0)