File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 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+
12+ jobs :
13+ fmt :
14+ name : Format
15+ runs-on : ubuntu-latest
16+ steps :
17+ - uses : actions/checkout@v4
18+ - name : Check formatting
19+ run : cargo fmt --all -- --check
20+
21+ clippy :
22+ name : Clippy
23+ runs-on : ubuntu-latest
24+ steps :
25+ - uses : actions/checkout@v4
26+ - uses : Swatinem/rust-cache@v2
27+ - name : Clippy
28+ run : cargo clippy --all-targets --all-features -- -D warnings
29+
30+ build :
31+ name : Build
32+ runs-on : ubuntu-latest
33+ steps :
34+ - uses : actions/checkout@v4
35+ - uses : Swatinem/rust-cache@v2
36+ - name : Build
37+ run : cargo build --all-targets
38+
39+ test :
40+ name : Test
41+ runs-on : ubuntu-latest
42+ steps :
43+ - uses : actions/checkout@v4
44+ - uses : Swatinem/rust-cache@v2
45+ - name : Run tests
46+ run : cargo test --all
You can’t perform that action at this time.
0 commit comments