File tree Expand file tree Collapse file tree 1 file changed +9
-11
lines changed Expand file tree Collapse file tree 1 file changed +9
-11
lines changed Original file line number Diff line number Diff line change @@ -131,20 +131,18 @@ jobs:
131
131
132
132
- name : Install cargo-msrv
133
133
run : |
134
- tar -xzf "cargo-msrv-x86_64-${{ matrix.param.system }}-v*.tgz" \
135
- -C ~/.cargo/bin --strip-components=1 --wildcards \
136
- "cargo-msrv-x86_64-${{ matrix.param.system }}-v*/cargo-msrv"
134
+ find . -name 'cargo-msrv-x86_64*.tgz' -exec mv {} cargo-msrv.tgz \;
135
+ tar -tf cargo-msrv.tgz \
136
+ | grep '/cargo-msrv' \
137
+ | head -n1 \
138
+ | xargs -n1 tar -xzf cargo-msrv.tgz -C ~/.cargo/bin --strip-components=1
137
139
cargo msrv --version
138
140
139
- - name : Verify MSRV
140
- run : cargo hack msrv verify --output-format=minimal --all-features
141
+ - name : Verify and Test Rust version
142
+ run : |
143
+ cargo hack msrv verify --output-format=minimal --all-features
144
+ cargo hack --rust-version test --all-targets --all-features
141
145
142
146
- name : Find MSRV
143
147
if : ${{ failure() }}
144
148
run : cargo hack msrv find --min=1.75 --output-format=minimal --all-features
145
-
146
- - name : Build with MSRV
147
- run : cargo hack --rust-version build --all-targets --all-features
148
-
149
- - name : Test with MSRV
150
- run : cargo hack --rust-version test --all-targets --all-features
You can’t perform that action at this time.
0 commit comments