File tree Expand file tree Collapse file tree 1 file changed +6
-12
lines changed Expand file tree Collapse file tree 1 file changed +6
-12
lines changed Original file line number Diff line number Diff line change 77 runs-on : ${{ matrix.os }}
88 strategy :
99 matrix :
10- os : [ubuntu-latest]
11- rust : [nightly]
12- include :
13- - os : ubuntu-latest
14- target : x86_64-unknown-linux-gnu
10+ os : [ubuntu-22.04]
1511 steps :
1612 - uses : actions/checkout@v3
17- - uses : dtolnay/rust-toolchain@stable
18- with :
19- toolchain : ${{ matrix.rust }}
20- target : ${{ matrix.target }}
21- override : true
13+ - uses : dtolnay/rust-toolchain@nightly
2214 - name : Run tests
2315 run : |
24- cargo test
16+ RUSTFLAGS="-D warnings" cargo test
2517
2618 rustfmt :
2719 name : Rustfmt
2820 runs-on : ubuntu-latest
2921 steps :
3022 - uses : actions/checkout@v3
31- - uses : dtolnay/rust-toolchain@stable
23+ - uses : dtolnay/rust-toolchain@nightly
24+ with :
25+ components : rustfmt
3226 - run : cargo fmt -- --check
You can’t perform that action at this time.
0 commit comments