File tree Expand file tree Collapse file tree 1 file changed +6
-3
lines changed Expand file tree Collapse file tree 1 file changed +6
-3
lines changed Original file line number Diff line number Diff line change 2323 - msrv
2424 include :
2525 - os : ubuntu-latest
26- rust : stable
26+ rust : msrv
2727 lint : 1
28+ - rust : stable
29+ rust-args : --all-features
2830 runs-on : ${{ matrix.os }}
2931 steps :
3032 - name : Checkout source
3739 if [ "$ver" = msrv ]; then
3840 ver=$(cargo metadata --format-version 1 --no-deps | \
3941 jq -r '.packages[0].rust_version')
42+ extra=(-c rustfmt -c clippy)
4043 fi
41- rustup toolchain install "$ver" --profile minimal --no-self-update
44+ rustup toolchain install "$ver" --profile minimal --no-self-update "${extra[@]}"
4245 rustup default "$ver"
4346 echo "Installed:"
4447 cargo --version
4750 - uses : Swatinem/rust-cache@v2
4851
4952 - name : cargo test
50- run : cargo test --workspace --all-features
53+ run : cargo test --workspace ${{ matrix.rust-args }}
5154
5255 - name : rustfmt
5356 if : github.event_name == 'pull_request' && matrix.lint
You can’t perform that action at this time.
0 commit comments