Skip to content

Commit 1825015

Browse files
ShaharNavehCopilot
authored andcommitted
Pin rust-toolchain action to a commit hash (#7500)
1 parent 713022f commit 1825015

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') }}
@@ -225,7 +227,9 @@ jobs:
225227
with:
226228
persist-credentials: false
227229

228-
- uses: dtolnay/rust-toolchain@stable
230+
- uses: dtolnay/rust-toolchain@efa25f7f19611383d5b0ccf2d1c8914531636bf9
231+
with:
232+
toolchain: stable
229233

230234
- uses: Swatinem/rust-cache@c19371144df3bb44fab255c43d04cbc2ab54d1c4 # v2.9.1
231235
with:
@@ -336,9 +340,10 @@ jobs:
336340
- name: Check for redundant test patches
337341
run: python scripts/check_redundant_patches.py
338342

339-
- uses: dtolnay/rust-toolchain@stable
343+
- uses: dtolnay/rust-toolchain@efa25f7f19611383d5b0ccf2d1c8914531636bf9
340344
with:
341345
components: clippy
346+
toolchain: stable
342347

343348
- name: run clippy on wasm
344349
run: cargo clippy --manifest-path=crates/wasm/Cargo.toml -- -Dwarnings
@@ -392,7 +397,7 @@ jobs:
392397
with:
393398
persist-credentials: false
394399

395-
- uses: dtolnay/rust-toolchain@master
400+
- uses: dtolnay/rust-toolchain@efa25f7f19611383d5b0ccf2d1c8914531636bf9
396401
with:
397402
toolchain: ${{ env.NIGHTLY_CHANNEL }}
398403
components: miri
@@ -418,7 +423,9 @@ jobs:
418423
with:
419424
persist-credentials: false
420425

421-
- uses: dtolnay/rust-toolchain@stable
426+
- uses: dtolnay/rust-toolchain@efa25f7f19611383d5b0ccf2d1c8914531636bf9
427+
with:
428+
toolchain: stable
422429

423430
- uses: Swatinem/rust-cache@c19371144df3bb44fab255c43d04cbc2ab54d1c4 # v2.9.1
424431
with:
@@ -490,9 +497,10 @@ jobs:
490497
with:
491498
persist-credentials: false
492499

493-
- uses: dtolnay/rust-toolchain@stable
500+
- uses: dtolnay/rust-toolchain@efa25f7f19611383d5b0ccf2d1c8914531636bf9
494501
with:
495502
target: wasm32-wasip1
503+
toolchain: stable
496504

497505
- uses: Swatinem/rust-cache@c19371144df3bb44fab255c43d04cbc2ab54d1c4 # v2.9.1
498506
with:

0 commit comments

Comments
 (0)