File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 4545
4646 steps :
4747 - uses : actions/checkout@v4
48- - uses : taiki-e/install-action@cargo-hack
49- - run : cargo hack --rust-version --no-dev-deps check --workspace
48+
49+ - uses : dtolnay/rust-toolchain@stable
50+
51+ - name : Resolve MSRV aware dependencies
52+ run : cargo update
53+ env :
54+ CARGO_RESOLVER_INCOMPATIBLE_RUST_VERSIONS : fallback
55+
56+ - name : Get MSRV from package metadata
57+ id : msrv
58+ run : echo "version=$(yq '.package.rust-version' Cargo.toml)" >> $GITHUB_OUTPUT
59+
60+ - name : Install Rust (${{ steps.msrv.outputs.version }})
61+ uses : dtolnay/rust-toolchain@master
62+ with :
63+ toolchain : ${{ steps.msrv.outputs.version }}
64+
65+ - uses : Swatinem/rust-cache@v2
66+
67+ - name : Check
68+ run : cargo check --workspace
Original file line number Diff line number Diff line change @@ -10,7 +10,7 @@ authors = ["Sean McArthur <sean@seanmonstar.com>"]
1010keywords = [" http" , " headers" , " hyper" , " hyperium" ]
1111categories = [" web-programming" ]
1212edition = " 2018"
13- rust-version = " 1.56 "
13+ rust-version = " 1.57 "
1414
1515[workspace ]
1616members = [" headers-core" ]
Original file line number Diff line number Diff line change @@ -9,7 +9,7 @@ repository = "https://github.com/hyperium/headers"
99authors = [" Sean McArthur <sean@seanmonstar.com>" ]
1010keywords = [" http" , " headers" , " hyper" , " hyperium" ]
1111edition = " 2018"
12- rust-version = " 1.49 "
12+ rust-version = " 1.57 "
1313
1414[dependencies ]
1515http = " 1.0.0"
You can’t perform that action at this time.
0 commit comments