Debian Codegraph @

.github/workflows/ci.yml

raw
1 name: CI
2
3 on:
4 push:
5 branches: [ main ]
6 pull_request:
7 branches: [ main ]
8
9 env:
10 CARGO_TERM_COLOR: always
11 CARGO_REGISTRIES_CRATES_IO_PROTOCOL: sparse
12
13 jobs:
14 build:
15 runs-on: ubuntu-latest
16 steps:
17 - uses: actions/checkout@v4
18 - uses: actions-rs/toolchain@v1
19 with:
20 profile: minimal
21 toolchain: stable
22 - uses: actions-rs/cargo@v1
23 with:
24 command: test
25 args: --no-default-features
26 - uses: actions-rs/cargo@v1
27 with:
28 command: test
29 args: --all-features --all
30 - uses: actions-rs/cargo@v1
31 with:
32 command: test
33 args: --all-features --all --release