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:
Arpad Borsos
2023-07-31 15:31:10 +02:00
parent dd05243424
commit 1e604afb09
6 changed files with 7 additions and 32 deletions

View File

@@ -18,11 +18,7 @@ jobs:
steps:
- uses: actions/checkout@v3
# When rustup is updated, it tries to replace its binary, which on Windows is somehow locked.
# 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
- run: rustup toolchain install stable --profile minimal --no-self-update
- uses: ./