Skip to content

Commit 3ce77e8

Browse files
committed
CI: pin repo toolchain to 1.93.0
1 parent 57af547 commit 3ce77e8

4 files changed

Lines changed: 1 addition & 21 deletions

File tree

.github/workflows/build-release-binaries.yaml

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -41,13 +41,6 @@ jobs:
4141
toolchain: ${{ env.TOOLCHAIN_STABLE }}
4242
override: true
4343

44-
- name: Override stable toolchain with ${{ env.TOOLCHAIN_STABLE }}
45-
run: |
46-
rustup default ${{ env.TOOLCHAIN_STABLE }}
47-
rustup toolchain uninstall stable || true
48-
TOOLCHAIN_DIR=$(dirname "$(dirname "$(rustup which cargo --toolchain ${{ env.TOOLCHAIN_STABLE }})")")
49-
rustup toolchain link stable "$TOOLCHAIN_DIR"
50-
5144
- name: Add apple target
5245
if: matrix.platform.os == 'macos-latest'
5346
run: rustup target add aarch64-apple-darwin

.github/workflows/rust-checks.yaml

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -95,12 +95,6 @@ jobs:
9595
with:
9696
toolchain: ${{ env.TOOLCHAIN_STABLE }}
9797
targets: wasm32-unknown-unknown
98-
- name: Override stable toolchain with ${{ env.TOOLCHAIN_STABLE }}
99-
run: |
100-
rustup default ${{ env.TOOLCHAIN_STABLE }}
101-
rustup toolchain uninstall stable || true
102-
TOOLCHAIN_DIR=$(dirname "$(dirname "$(rustup which cargo --toolchain ${{ env.TOOLCHAIN_STABLE }})")")
103-
rustup toolchain link stable "$TOOLCHAIN_DIR"
10498
- uses: Swatinem/rust-cache@v2
10599
- name: Install Protoc
106100
uses: arduino/setup-protoc@v1

.github/workflows/rust-docs.yaml

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -34,13 +34,6 @@ jobs:
3434
targets: wasm32-unknown-unknown
3535
components: rust-src
3636

37-
- name: Override stable toolchain with ${{ env.TOOLCHAIN_STABLE }}
38-
run: |
39-
rustup default ${{ env.TOOLCHAIN_STABLE }}
40-
rustup toolchain uninstall stable || true
41-
TOOLCHAIN_DIR=$(dirname "$(dirname "$(rustup which cargo --toolchain ${{ env.TOOLCHAIN_STABLE }})")")
42-
rustup toolchain link stable "$TOOLCHAIN_DIR"
43-
4437
- name: Check if the README is up to date.
4538
run: |
4639
cargo install cargo-rdme --locked -q

rust-toolchain.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
[toolchain]
2-
channel = "stable"
2+
channel = "1.93.0"
33
components = [
44
"rust-src",
55
"rustc-dev",

0 commit comments

Comments
 (0)