Skip to content

Commit 66e3eca

Browse files
authored
Use lint on MSRV instead of stable (#139)
1 parent 6513773 commit 66e3eca

File tree

2 files changed

+4
-3
lines changed

2 files changed

+4
-3
lines changed

.github/workflows/rust.yml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ jobs:
2323
- msrv
2424
include:
2525
- os: ubuntu-latest
26-
rust: stable
26+
rust: msrv
2727
lint: 1
2828
- rust: stable
2929
rust-args: --all-features
@@ -39,8 +39,9 @@ jobs:
3939
if [ "$ver" = msrv ]; then
4040
ver=$(cargo metadata --format-version 1 --no-deps | \
4141
jq -r '.packages[0].rust_version')
42+
extra=(-c rustfmt -c clippy)
4243
fi
43-
rustup toolchain install "$ver" --profile minimal --no-self-update
44+
rustup toolchain install "$ver" --profile minimal --no-self-update "${extra[@]}"
4445
rustup default "$ver"
4546
echo "Installed:"
4647
cargo --version

Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ version = "1.1.2"
44
authors = ["Cecile Tonglet <[email protected]>"]
55
license = "MIT OR Apache-2.0"
66
edition = "2021"
7-
rust-version = "1.63"
7+
rust-version = "1.65"
88
description = "Pure Rust library to read and modify GUID partition tables"
99
repository = "https://github.com/rust-disk-partition-management/gptman"
1010
homepage = "https://github.com/rust-disk-partition-management/gptman"

0 commit comments

Comments
 (0)