fix ci workflow 11
This commit is contained in:
parent
12f5c12849
commit
f88d6482bd
2 changed files with 11 additions and 11 deletions
|
@ -19,8 +19,7 @@ jobs:
|
|||
CARGO_RESOLVER_INCOMPATIBLE_RUST_VERSIONS: allow
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
- run: curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s - -y
|
||||
- run: source "$HOME/.cargo/env" && rustup update stable && rustup default stable
|
||||
- run: source "$HOME/.cargo/env" && cargo update --verbose
|
||||
- run: source "$HOME/.cargo/env" && cargo build --verbose
|
||||
- run: source "$HOME/.cargo/env" && cargo test --verbose
|
||||
- uses: dtolnay/rust-toolchain@stable
|
||||
- run: cargo update --verbose
|
||||
- run: cargo build --verbose
|
||||
- run: cargo test --verbose
|
||||
|
|
|
@ -21,9 +21,10 @@ jobs:
|
|||
- nightly
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
- run: curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s - -y
|
||||
- run: source "$HOME/.cargo/env" && rustup update ${{ matrix.toolchain }} && rustup default ${{ matrix.toolchain }}
|
||||
- run: source "$HOME/.cargo/env" && cargo build
|
||||
- run: source "$HOME/.cargo/env" && cargo test
|
||||
- run: source "$HOME/.cargo/env" && cargo clippy
|
||||
- run: source "$HOME/.cargo/env" && cargo fmt --check
|
||||
- uses: dtolnay/rust-toolchain@master
|
||||
with:
|
||||
toolchain: ${{ matrix.toolchain }}
|
||||
- run: cargo build
|
||||
- run: cargo test
|
||||
- run: cargo clippy
|
||||
- run: cargo fmt --check
|
Loading…
Add table
Reference in a new issue