Skip to content

Commit 1da67fd

Browse files
committed
ci: try working around rust-lang/rustup#3709
1 parent 2955842 commit 1da67fd

File tree

2 files changed

+21
-0
lines changed

2 files changed

+21
-0
lines changed

.github/workflows/ci.yaml

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,11 @@ jobs:
2727
target/
2828
key: ${{ runner.os }}-lint-${{ hashFiles('**/Cargo.lock') }}
2929

30+
- name: Setup | Disable rustup self-update
31+
# workaround for: https://github.com/rust-lang/rustup/issues/3709
32+
run: |
33+
rustup set auto-self-update disable
34+
3035
- name: Setup | Toolchain (clippy)
3136
run: |
3237
rustup toolchain install stable --component clippy
@@ -61,6 +66,11 @@ jobs:
6166
target/
6267
key: ${{ runner.os }}-check-${{ matrix.rust }}-${{ hashFiles('**/Cargo.lock') }}
6368

69+
- name: Setup | Disable rustup self-update
70+
# workaround for: https://github.com/rust-lang/rustup/issues/3709
71+
run: |
72+
rustup set auto-self-update disable
73+
6474
- name: Setup | Rust
6575
run: |
6676
rustup toolchain install ${{ matrix.rust }}
@@ -96,6 +106,7 @@ jobs:
96106
- os: windows-latest
97107
binPath: target/debug/trunk.exe
98108
runs-on: ${{ matrix.os }}
109+
99110
steps:
100111
- name: Setup | Checkout
101112
uses: actions/checkout@v4
@@ -154,6 +165,11 @@ jobs:
154165
- name: Setup | Checkout
155166
uses: actions/checkout@v4
156167

168+
- name: Setup | Disable rustup self-update
169+
# workaround for: https://github.com/rust-lang/rustup/issues/3709
170+
run: |
171+
rustup set auto-self-update disable
172+
157173
- name: Setup | Rust
158174
run: |
159175
rustup toolchain install stable --target wasm32-unknown-unknown

.github/workflows/release.yaml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -94,6 +94,11 @@ jobs:
9494
sudo apt-get update
9595
sudo apt-get install -y ${{ matrix.dependencies }}
9696
97+
- name: Setup | Disable rustup self-update
98+
# workaround for: https://github.com/rust-lang/rustup/issues/3709
99+
run: |
100+
rustup set auto-self-update disable
101+
97102
- name: Setup | Rust
98103
run: |
99104
rustup toolchain install stable --target ${{ matrix.target }} --profile minimal

0 commit comments

Comments
 (0)