diff --git a/.github/workflows/rust.yml b/.github/workflows/rust.yml index bf2d568..bba3b5f 100644 --- a/.github/workflows/rust.yml +++ b/.github/workflows/rust.yml @@ -23,7 +23,7 @@ jobs: - msrv include: - os: ubuntu-latest - rust: stable + rust: msrv lint: 1 - rust: stable rust-args: --all-features @@ -39,8 +39,9 @@ jobs: if [ "$ver" = msrv ]; then ver=$(cargo metadata --format-version 1 --no-deps | \ jq -r '.packages[0].rust_version') + extra=(-c rustfmt -c clippy) fi - rustup toolchain install "$ver" --profile minimal --no-self-update + rustup toolchain install "$ver" --profile minimal --no-self-update "${extra[@]}" rustup default "$ver" echo "Installed:" cargo --version diff --git a/Cargo.toml b/Cargo.toml index 9e67a12..732a9c5 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -4,7 +4,7 @@ version = "1.1.2" authors = ["Cecile Tonglet "] license = "MIT OR Apache-2.0" edition = "2021" -rust-version = "1.63" +rust-version = "1.65" description = "Pure Rust library to read and modify GUID partition tables" repository = "https://github.com/rust-disk-partition-management/gptman" homepage = "https://github.com/rust-disk-partition-management/gptman"