Skip to content

Commit 0da1938

Browse files
authored
chore(ci): ensure Rust toolchain installation is based on rust-toolchain.toml (#18104)
It seems like `dtolnay/rust-toolchain` does not want to support rust-toolchain.toml unfortunately and we had thought it did.
1 parent 44e67df commit 0da1938

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

.github/workflows/ci.generate.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,7 @@ const submoduleStep = (submodule: string) => ({
8181
});
8282

8383
const installRustStep = {
84-
uses: "dtolnay/rust-toolchain@stable",
84+
uses: "dsherret/rust-toolchain-file@v1",
8585
};
8686
const installPythonSteps = [{
8787
name: "Install Python",

.github/workflows/ci.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -101,7 +101,7 @@ jobs:
101101
mkdir -p target/release
102102
tar --exclude=".git*" --exclude=target --exclude=third_party/prebuilt \
103103
-czvf target/release/deno_src.tar.gz -C .. deno
104-
- uses: dtolnay/rust-toolchain@stable
104+
- uses: dsherret/rust-toolchain-file@v1
105105
if: '!(github.event_name == ''pull_request'' && matrix.skip_pr) && (steps.exit_early.outputs.EXIT_EARLY != ''true'')'
106106
- if: '!(github.event_name == ''pull_request'' && matrix.skip_pr) && (steps.exit_early.outputs.EXIT_EARLY != ''true'' && (matrix.job == ''lint'' || matrix.job == ''test''))'
107107
name: Install Deno

0 commit comments

Comments
 (0)