Skip to content

Commit

Permalink
ci: try working around rust-lang/rustup#3709
Browse files Browse the repository at this point in the history
  • Loading branch information
ctron committed Mar 13, 2024
1 parent 2955842 commit 1da67fd
Show file tree
Hide file tree
Showing 2 changed files with 21 additions and 0 deletions.
16 changes: 16 additions & 0 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,11 @@ jobs:
target/
key: ${{ runner.os }}-lint-${{ hashFiles('**/Cargo.lock') }}

- name: Setup | Disable rustup self-update
# workaround for: https://github.com/rust-lang/rustup/issues/3709
run: |
rustup set auto-self-update disable
- name: Setup | Toolchain (clippy)
run: |
rustup toolchain install stable --component clippy
Expand Down Expand Up @@ -61,6 +66,11 @@ jobs:
target/
key: ${{ runner.os }}-check-${{ matrix.rust }}-${{ hashFiles('**/Cargo.lock') }}

- name: Setup | Disable rustup self-update
# workaround for: https://github.com/rust-lang/rustup/issues/3709
run: |
rustup set auto-self-update disable
- name: Setup | Rust
run: |
rustup toolchain install ${{ matrix.rust }}
Expand Down Expand Up @@ -96,6 +106,7 @@ jobs:
- os: windows-latest
binPath: target/debug/trunk.exe
runs-on: ${{ matrix.os }}

steps:
- name: Setup | Checkout
uses: actions/checkout@v4
Expand Down Expand Up @@ -154,6 +165,11 @@ jobs:
- name: Setup | Checkout
uses: actions/checkout@v4

- name: Setup | Disable rustup self-update
# workaround for: https://github.com/rust-lang/rustup/issues/3709
run: |
rustup set auto-self-update disable
- name: Setup | Rust
run: |
rustup toolchain install stable --target wasm32-unknown-unknown
Expand Down
5 changes: 5 additions & 0 deletions .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -94,6 +94,11 @@ jobs:
sudo apt-get update
sudo apt-get install -y ${{ matrix.dependencies }}
- name: Setup | Disable rustup self-update
# workaround for: https://github.com/rust-lang/rustup/issues/3709
run: |
rustup set auto-self-update disable
- name: Setup | Rust
run: |
rustup toolchain install stable --target ${{ matrix.target }} --profile minimal
Expand Down

0 comments on commit 1da67fd

Please sign in to comment.