We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent f10c4b5 commit 2105cb0Copy full SHA for 2105cb0
1 file changed
.github/workflows/main.yml
@@ -7,26 +7,20 @@ jobs:
7
runs-on: ${{ matrix.os }}
8
strategy:
9
matrix:
10
- os: [ubuntu-latest]
11
- rust: [nightly]
12
- include:
13
- - os: ubuntu-latest
14
- target: x86_64-unknown-linux-gnu
+ os: [ubuntu-22.04]
15
steps:
16
- uses: actions/checkout@v3
17
- - uses: dtolnay/rust-toolchain@stable
18
- with:
19
- toolchain: ${{ matrix.rust }}
20
- target: ${{ matrix.target }}
21
- override: true
+ - uses: dtolnay/rust-toolchain@nightly
22
- name: Run tests
23
run: |
24
- cargo test
+ RUSTFLAGS="-D warnings" cargo test
25
26
rustfmt:
27
name: Rustfmt
28
runs-on: ubuntu-latest
29
30
31
+ with:
+ components: rustfmt
32
- run: cargo fmt -- --check
0 commit comments