File tree Expand file tree Collapse file tree 1 file changed +11
-13
lines changed
Expand file tree Collapse file tree 1 file changed +11
-13
lines changed Original file line number Diff line number Diff line change @@ -54,21 +54,19 @@ jobs:
5454 - name : cargo check
5555 run : cargo check --locked --all-features
5656 msrv :
57+ name : " Check MSRV"
5758 runs-on : ubuntu-latest
58- # we use a matrix here just because env can't be used in job names
59- # https://docs.github.com/en/actions/learn-github-actions/contexts#context-availability
60- strategy :
61- matrix :
62- msrv : [1.78.0]
63- name : ubuntu / ${{ matrix.msrv }}
6459 steps :
65- - uses : actions/checkout@v3
66- - name : Install ${{ matrix.msrv }}
67- uses : dtolnay/rust-toolchain@master
68- with :
69- toolchain : ${{ matrix.msrv }}
70- - name : cargo +${{ matrix.msrv }} check
71- run : cargo check --all-features
60+ - name : Checkout repository
61+ uses : actions/checkout@v4
62+ - name : Install Rust
63+ uses : dtolnay/rust-toolchain@stable
64+ with :
65+ toolchain : stable
66+ - uses : Swatinem/rust-cache@v2
67+ - uses : taiki-e/install-action@cargo-hack
68+ - name : Default features
69+ run : cargo hack check --feature-powerset --locked --rust-version --ignore-private --workspace --all-targets
7270 lockfile :
7371 runs-on : ubuntu-latest
7472 steps :
You can’t perform that action at this time.
0 commit comments