ci: run workspace checks with Rust 1.94.0
This commit is contained in:
@@ -16,20 +16,20 @@ jobs:
|
|||||||
|
|
||||||
- name: Install pinned Rust toolchain
|
- name: Install pinned Rust toolchain
|
||||||
run: |
|
run: |
|
||||||
rustup toolchain install 1.85.0 --profile minimal --component rustfmt --component clippy
|
rustup toolchain install 1.94.0 --profile minimal --component rustfmt --component clippy
|
||||||
rustup override set 1.85.0
|
rustup override set 1.94.0
|
||||||
rustup show active-toolchain
|
rustup show active-toolchain
|
||||||
cargo +1.85.0 --version
|
cargo +1.94.0 --version
|
||||||
rustc +1.85.0 --version
|
rustc +1.94.0 --version
|
||||||
|
|
||||||
- name: Format
|
- name: Format
|
||||||
run: cargo +1.85.0 fmt --manifest-path adk-rust/Cargo.toml --all -- --check
|
run: cargo +1.94.0 fmt --manifest-path adk-rust/Cargo.toml --all -- --check
|
||||||
|
|
||||||
- name: Test
|
- name: Test
|
||||||
run: cargo +1.85.0 test --manifest-path adk-rust/Cargo.toml --workspace
|
run: cargo +1.94.0 test --manifest-path adk-rust/Cargo.toml --workspace
|
||||||
|
|
||||||
- name: Clippy
|
- name: Clippy
|
||||||
run: cargo +1.85.0 clippy --manifest-path adk-rust/Cargo.toml --workspace --all-targets -- -D warnings
|
run: cargo +1.94.0 clippy --manifest-path adk-rust/Cargo.toml --workspace --all-targets -- -D warnings
|
||||||
|
|
||||||
- name: Release build
|
- name: Release build
|
||||||
run: cargo +1.85.0 build --manifest-path adk-rust/Cargo.toml --workspace --release
|
run: cargo +1.94.0 build --manifest-path adk-rust/Cargo.toml --workspace --release
|
||||||
|
|||||||
Reference in New Issue
Block a user