Skip to content

Commit

Permalink
CI: Disable self-update for rustup
Browse files Browse the repository at this point in the history
Work around bug on Windows runners:
    rust-lang/rustup#3709
  • Loading branch information
alexdewar committed May 8, 2024
1 parent 1da33ca commit 7b1ee9b
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,10 @@ jobs:
- stable
steps:
- uses: actions/checkout@v3
- run: rustup update ${{ matrix.toolchain }} && rustup default ${{ matrix.toolchain }}
- run: |
# self update is currently broken on Windows runners:
# https://github.com/rust-lang/rustup/issues/3709
rustup update --no-self-update ${{ matrix.toolchain }}
rustup default ${{ matrix.toolchain }}
- run: cargo build --verbose
- run: cargo test --verbose

0 comments on commit 7b1ee9b

Please sign in to comment.