File tree 2 files changed +11
-10
lines changed
2 files changed +11
-10
lines changed Original file line number Diff line number Diff line change 61
61
run : ./ci/h2spec.sh
62
62
if : matrix.rust == 'stable'
63
63
64
- - name : Check minimal versions
65
- run : cargo clean; cargo update -Zminimal-versions; cargo check
66
- if : matrix.rust == 'nightly'
67
-
68
64
clippy_check :
69
65
runs-on : ubuntu-latest
70
66
steps :
@@ -83,14 +79,19 @@ jobs:
83
79
uses : actions/checkout@v3
84
80
85
81
- name : Get MSRV from package metadata
86
- id : metadata
87
- run : |
88
- cargo metadata --no-deps --format-version 1 |
89
- jq -r '"msrv=" + (.packages[] | select(.name == "h2")).rust_version' >> $GITHUB_OUTPUT
82
+ id : msrv
83
+ run : grep rust-version Cargo.toml | cut -d '"' -f2 | sed 's/^/version=/' >> $GITHUB_OUTPUT
90
84
91
85
- name : Install Rust (${{ steps.metadata.outputs.msrv }})
86
+ id : msrv-toolchain
92
87
uses : dtolnay/rust-toolchain@master
93
88
with :
94
- toolchain : ${{ steps.metadata .outputs.msrv }}
89
+ toolchain : ${{ steps.msrv .outputs.version }}
95
90
96
91
- run : cargo check -p h2
92
+
93
+ - uses : dtolnay/rust-toolchain@nightly
94
+ - uses : taiki-e/install-action@cargo-hack
95
+ - uses : taiki-e/install-action@cargo-minimal-versions
96
+
97
+ - run : cargo +${{ steps.msrv-toolchain.outputs.name }} minimal-versions check
Original file line number Diff line number Diff line change @@ -48,7 +48,7 @@ tokio-util = { version = "0.7.1", features = ["codec"] }
48
48
tokio = { version = " 1" , features = [" io-util" ] }
49
49
bytes = " 1"
50
50
http = " 0.2"
51
- tracing = { version = " 0.1.21 " , default-features = false , features = [" std" ] }
51
+ tracing = { version = " 0.1.32 " , default-features = false , features = [" std" ] }
52
52
fnv = " 1.0.5"
53
53
slab = " 0.4.2"
54
54
indexmap = { version = " 1.5.2" , features = [" std" ] }
You can’t perform that action at this time.
0 commit comments