Skip to content

Use lint on MSRV instead of stable #139

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 3 additions & 2 deletions .github/workflows/rust.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ jobs:
- msrv
include:
- os: ubuntu-latest
rust: stable
rust: msrv
lint: 1
- rust: stable
rust-args: --all-features
Expand All @@ -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
Expand Down
2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ version = "1.1.2"
authors = ["Cecile Tonglet <[email protected]>"]
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"
Expand Down