Skip to content

Commit 64c2939

Browse files
committed
fix: dev
1 parent 4c80e5d commit 64c2939

File tree

3 files changed

+8
-0
lines changed

3 files changed

+8
-0
lines changed

.github/workflows/build-bin.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -65,10 +65,12 @@ jobs:
6565

6666
- name: verify-rust-toolchain
6767
# TODO: Investigate if this step fixes the intermittent Windows toolchain race condition.
68+
# Ref: https://github.com/rust-lang/rustup/issues/3104
6869
# If not effective, remove this step.
6970
shell: bash
7071
run: |
7172
TOOLCHAIN=$(rustup show active-toolchain | head -1 | cut -d' ' -f1)
73+
rustup toolchain uninstall "$TOOLCHAIN" || true
7274
rustup toolchain install "$TOOLCHAIN" --no-self-update
7375
cargo --version
7476

.github/workflows/publish-pypi.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -50,10 +50,12 @@ jobs:
5050

5151
- name: verify-rust-toolchain
5252
# TODO: Investigate if this step fixes the intermittent Windows toolchain race condition.
53+
# Ref: https://github.com/rust-lang/rustup/issues/3104
5354
# If not effective, remove this step.
5455
shell: bash
5556
run: |
5657
TOOLCHAIN=$(rustup show active-toolchain | head -1 | cut -d' ' -f1)
58+
rustup toolchain uninstall "$TOOLCHAIN" || true
5759
rustup toolchain install "$TOOLCHAIN" --no-self-update
5860
cargo --version
5961

.github/workflows/test.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -43,10 +43,12 @@ jobs:
4343

4444
- name: verify-rust-toolchain
4545
# TODO: Investigate if this step fixes the intermittent Windows toolchain race condition.
46+
# Ref: https://github.com/rust-lang/rustup/issues/3104
4647
# If not effective, remove this step.
4748
shell: bash
4849
run: |
4950
TOOLCHAIN=$(rustup show active-toolchain | head -1 | cut -d' ' -f1)
51+
rustup toolchain uninstall "$TOOLCHAIN" || true
5052
rustup toolchain install "$TOOLCHAIN" --no-self-update
5153
cargo --version
5254
@@ -147,10 +149,12 @@ jobs:
147149

148150
- name: verify-rust-toolchain
149151
# TODO: Investigate if this step fixes the intermittent Windows toolchain race condition.
152+
# Ref: https://github.com/rust-lang/rustup/issues/3104
150153
# If not effective, remove this step.
151154
shell: bash
152155
run: |
153156
TOOLCHAIN=$(rustup show active-toolchain | head -1 | cut -d' ' -f1)
157+
rustup toolchain uninstall "$TOOLCHAIN" || true
154158
rustup toolchain install "$TOOLCHAIN" --no-self-update
155159
cargo --version
156160

0 commit comments

Comments
 (0)