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