This commit is contained in:
parent
3059219fc4
commit
25aa90ec60
|
@ -8,15 +8,10 @@ jobs:
|
|||
with:
|
||||
fetch-depth: 0
|
||||
- run: |
|
||||
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y --default-toolchain none
|
||||
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y --default-toolchain 1.79.0
|
||||
source "$HOME/.cargo/env"
|
||||
echo "$PATH" >> "$GITHUB_PATH"
|
||||
- run: |
|
||||
# override server since 1.79.0 is not quite stable yet,
|
||||
# it should be in a few days -- on 2024-06-13
|
||||
RUSTUP_DIST_SERVER=https://dev-static.rust-lang.org rustup install 1.79.0
|
||||
rustup default 1.79.0
|
||||
- uses: https://github.com/Swatinem/rust-cache@v2
|
||||
with:
|
||||
save-if: ${{ github.ref == 'refs/heads/master' }}
|
||||
- run: cargo test
|
||||
- run: cargo test
|
||||
|
|
Loading…
Reference in a new issue