File tree Expand file tree Collapse file tree 1 file changed +42
-0
lines changed Expand file tree Collapse file tree 1 file changed +42
-0
lines changed Original file line number Diff line number Diff line change 1+ name : Lint and Test
2+
3+ on : [push, pull_request]
4+
5+ jobs :
6+ fmt :
7+ name : fmt
8+ runs-on : ubuntu-latest
9+ steps :
10+ - uses : dtolnay/rust-toolchain@stable
11+ with :
12+ components : rustfmt
13+ - uses : actions/checkout@v4
14+ - run : cargo fmt -- --check
15+
16+ clippy :
17+ name : clippy
18+ runs-on : ubuntu-latest
19+ steps :
20+ - uses : dtolnay/rust-toolchain@stable
21+ with :
22+ components : clippy
23+ - uses : actions/checkout@v4
24+ - run : cargo clippy --all --all-targets --all-features
25+
26+ test :
27+ runs-on : ubuntu-latest
28+ steps :
29+ - uses : dtolnay/rust-toolchain@stable
30+ - uses : actions/checkout@v4
31+ with :
32+ submodules : true
33+ - run : cargo build --all-features
34+ - run : cargo test --verbose --all --all-features
35+ env :
36+ RUST_BACKTRACE : 1
37+
38+ typos :
39+ runs-on : ubuntu-latest
40+ steps :
41+ - uses : actions/checkout@v4
42+ - uses : crate-ci/typos@master
You can’t perform that action at this time.
0 commit comments