Debian Codegraph @

.github/workflows/rust.yml

raw symbols SCIP
1 name: Rust
2
3 on:
4 push:
5 branches: [ master ]
6 pull_request:
7 branches: [ master ]
8
9 env:
10 CARGO_TERM_COLOR: always
11
12 jobs:
13 build:
14
15 runs-on: ubuntu-latest
16
17 steps:
18 - uses: actions/checkout@v2
19 - name: Build
20 run: cargo build --all-features --locked --verbose
21 - name: Run tests
22 run: cargo test --all-features --locked --verbose
23
24 lint:
25
26 runs-on: ubuntu-latest
27
28 steps:
29 - uses: actions/checkout@v2
30 - name: fmt
31 run: cargo fmt --all -- --check
32 - name: clippy
33 run: cargo --locked clippy --all-features --all-targets -- -D warnings