File tree Expand file tree Collapse file tree 1 file changed +43
-0
lines changed
Expand file tree Collapse file tree 1 file changed +43
-0
lines changed Original file line number Diff line number Diff line change 1+ name : CI
2+
3+ on : push
4+
5+ jobs :
6+ check :
7+ name : Check
8+ runs-on : ubuntu-latest
9+ steps :
10+ - uses : actions/checkout@v4
11+ - uses : dtolnay/rust-toolchain@stable
12+ - uses : Swatinem/rust-cache@v2
13+ - run : cargo check
14+
15+ fmt :
16+ name : Format
17+ runs-on : ubuntu-latest
18+ steps :
19+ - uses : actions/checkout@v4
20+ - uses : dtolnay/rust-toolchain@stable
21+ with :
22+ components : rustfmt
23+ - run : cargo fmt -- --check
24+
25+ clippy :
26+ name : Clippy
27+ runs-on : ubuntu-latest
28+ steps :
29+ - uses : actions/checkout@v4
30+ - uses : dtolnay/rust-toolchain@stable
31+ with :
32+ components : clippy
33+ - uses : Swatinem/rust-cache@v2
34+ - run : cargo clippy -- -D warnings
35+
36+ test :
37+ name : Test
38+ runs-on : ubuntu-latest
39+ steps :
40+ - uses : actions/checkout@v4
41+ - uses : dtolnay/rust-toolchain@stable
42+ - uses : Swatinem/rust-cache@v2
43+ - run : cargo test
You can’t perform that action at this time.
0 commit comments