Debian Codegraph @

.github/workflows/build.yml

raw symbols SCIP
1 name: Build
2
3 on:
4 push:
5 branches: [main]
6 paths_ignore: '*.md'
7 pull_request:
8
9 jobs:
10 build:
11 runs-on: ubuntu-latest
12 strategy:
13 matrix:
14 rust:
15 - stable
16 - beta
17 - nightly
18 continue-on-error: ${{ matrix.rust == 'nightly' }}
19 steps:
20 - uses: actions/checkout@v2
21 - uses: actions-rs/toolchain@v1
22 with:
23 toolchain: ${{ matrix.rust }}
24 profile: minimal
25 override: true
26 components: rustfmt, clippy
27 - name: Build
28 run: cargo build -v
29 - name: Test
30 run: cargo test -v
31 - name: Format check
32 run: cargo fmt -v -- --check
33 - name: Lint
34 run: cargo clippy -- -D warnings