File tree Expand file tree Collapse file tree 2 files changed +60
-0
lines changed Expand file tree Collapse file tree 2 files changed +60
-0
lines changed Original file line number Diff line number Diff line change 1+ name : Lint
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+ clippy :
14+ name : Clippy
15+ runs-on : ubuntu-latest
16+ steps :
17+ - uses : actions/checkout@v3
18+ - name : Install Rust toolchain
19+ uses : actions-rs/toolchain@v1
20+ with :
21+ profile : minimal
22+ toolchain : stable
23+ override : true
24+ components : clippy
25+ - name : Run clippy
26+ uses : actions-rs/cargo@v1
27+ with :
28+ command : clippy
29+ args : -- -D warnings
Original file line number Diff line number Diff line change 1+ name : Test
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+ test :
14+ name : Test Suite
15+ runs-on : ubuntu-latest
16+ steps :
17+ - uses : actions/checkout@v3
18+ - name : Install Rust toolchain
19+ uses : actions-rs/toolchain@v1
20+ with :
21+ profile : minimal
22+ toolchain : stable
23+ override : true
24+ - name : Build
25+ uses : actions-rs/cargo@v1
26+ with :
27+ command : build
28+ - name : Run tests
29+ uses : actions-rs/cargo@v1
30+ with :
31+ command : test
You can’t perform that action at this time.
0 commit comments