Update workflow definitions
- Use rust `--no-self-update` flag instead of separate command. - Add an explicit test for the `git` registry, as the sparse registry is now the default.
This commit is contained in:
parent
dd05243424
commit
1e604afb09
|
@ -18,11 +18,7 @@ jobs:
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v3
|
- uses: actions/checkout@v3
|
||||||
|
|
||||||
# When rustup is updated, it tries to replace its binary, which on Windows is somehow locked.
|
- run: rustup toolchain install stable --profile minimal --component llvm-tools-preview --no-self-update
|
||||||
# This can result in the CI failure, see: https://github.com/rust-lang/rustup/issues/3029
|
|
||||||
- run: |
|
|
||||||
rustup set auto-self-update disable
|
|
||||||
rustup toolchain install stable --profile minimal --component llvm-tools-preview
|
|
||||||
|
|
||||||
- uses: taiki-e/install-action@cargo-llvm-cov
|
- uses: taiki-e/install-action@cargo-llvm-cov
|
||||||
|
|
||||||
|
|
|
@ -14,17 +14,12 @@ jobs:
|
||||||
|
|
||||||
env:
|
env:
|
||||||
CARGO_TERM_COLOR: always
|
CARGO_TERM_COLOR: always
|
||||||
CARGO_UNSTABLE_SPARSE_REGISTRY: true
|
CARGO_REGISTRIES_CRATES_IO_PROTOCOL: git
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v3
|
- uses: actions/checkout@v3
|
||||||
|
|
||||||
# When rustup is updated, it tries to replace its binary, which on Windows is somehow locked.
|
- run: rustup toolchain install stable --profile minimal --no-self-update
|
||||||
# This can result in the CI failure, see: https://github.com/rust-lang/rustup/issues/3029
|
|
||||||
- run: |
|
|
||||||
rustup set auto-self-update disable
|
|
||||||
rustup toolchain install nightly --profile minimal
|
|
||||||
rustup default nightly
|
|
||||||
|
|
||||||
- uses: ./
|
- uses: ./
|
||||||
with:
|
with:
|
|
@ -18,11 +18,7 @@ jobs:
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v3
|
- uses: actions/checkout@v3
|
||||||
|
|
||||||
# When rustup is updated, it tries to replace its binary, which on Windows is somehow locked.
|
- run: rustup toolchain install stable --profile minimal --no-self-update
|
||||||
# This can result in the CI failure, see: https://github.com/rust-lang/rustup/issues/3029
|
|
||||||
- run: |
|
|
||||||
rustup set auto-self-update disable
|
|
||||||
rustup toolchain install stable --profile minimal
|
|
||||||
|
|
||||||
- uses: ./
|
- uses: ./
|
||||||
|
|
||||||
|
|
|
@ -18,11 +18,7 @@ jobs:
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v3
|
- uses: actions/checkout@v3
|
||||||
|
|
||||||
# When rustup is updated, it tries to replace its binary, which on Windows is somehow locked.
|
- run: rustup toolchain install stable --profile minimal --no-self-update
|
||||||
# This can result in the CI failure, see: https://github.com/rust-lang/rustup/issues/3029
|
|
||||||
- run: |
|
|
||||||
rustup set auto-self-update disable
|
|
||||||
rustup toolchain install stable --profile minimal
|
|
||||||
|
|
||||||
- uses: ./
|
- uses: ./
|
||||||
with:
|
with:
|
||||||
|
|
|
@ -18,11 +18,7 @@ jobs:
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v3
|
- uses: actions/checkout@v3
|
||||||
|
|
||||||
# When rustup is updated, it tries to replace its binary, which on Windows is somehow locked.
|
- run: rustup toolchain install stable --profile minimal --no-self-update
|
||||||
# This can result in the CI failure, see: https://github.com/rust-lang/rustup/issues/3029
|
|
||||||
- run: |
|
|
||||||
rustup set auto-self-update disable
|
|
||||||
rustup toolchain install stable --profile minimal
|
|
||||||
|
|
||||||
# the `workspaces` option has the format `$workspace -> $target-dir`
|
# the `workspaces` option has the format `$workspace -> $target-dir`
|
||||||
# and the `$target-dir` is relative to the `$workspace`.
|
# and the `$target-dir` is relative to the `$workspace`.
|
||||||
|
|
|
@ -18,11 +18,7 @@ jobs:
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v3
|
- uses: actions/checkout@v3
|
||||||
|
|
||||||
# When rustup is updated, it tries to replace its binary, which on Windows is somehow locked.
|
- run: rustup toolchain install stable --profile minimal --target wasm32-unknown-unknown --no-self-update
|
||||||
# This can result in the CI failure, see: https://github.com/rust-lang/rustup/issues/3029
|
|
||||||
- run: |
|
|
||||||
rustup set auto-self-update disable
|
|
||||||
rustup toolchain install stable --profile minimal --target wasm32-unknown-unknown
|
|
||||||
|
|
||||||
- uses: ./
|
- uses: ./
|
||||||
with:
|
with:
|
||||||
|
|
Loading…
Reference in New Issue