Debian Codegraph @

.github/workflows/ci.yml

raw symbols SCIP
1 name: CI
2
3 on:
4 push:
5 branches:
6 - main
7 pull_request:
8 schedule:
9 - cron: '0 1 27 * *'
10
11 jobs:
12 main:
13 name: Main
14 runs-on: ubuntu-latest
15
16 strategy:
17 fail-fast: false
18 matrix:
19 rust:
20 - nightly
21 - stable
22 - 1.12.0
23 include:
24 - rust: nightly
25 components: clippy
26
27 steps:
28
29 - name: Check out repository
30 uses: actions/checkout@v2
31
32 - name: Install Rust
33 uses: actions-rs/toolchain@v1
34 with:
35 toolchain: ${{ matrix.rust }}
36 profile: minimal
37 override: true
38 components: ${{ matrix.components }}
39
40 - name: Run tests
41 uses: actions-rs/cargo@v1
42 with:
43 command: test
44
45 - if: ${{ matrix.rust == 'nightly' }}
46 name: Check Clippy
47 uses: actions-rs/cargo@v1
48 with:
49 command: clippy
50 args: -- -D warnings