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+ on : [push]
2+
3+ name : Check, Lint, Build
4+
5+ env :
6+ CARGO_TERM_COLOR : always
7+
8+ jobs :
9+ check-lint-build-stable :
10+ name : Check, Lint, Build (stable)
11+ runs-on : ubuntu-latest
12+ timeout-minutes : 20
13+ # env:
14+ # RUSTFLAGS: -D warnings
15+ steps :
16+ - uses : actions/checkout@v2
17+ - name : Install latest stable toolchain
18+ uses : actions-rs/toolchain@v1
19+ with :
20+ profile : minimal
21+ toolchain : stable
22+ components : rustfmt, clippy
23+ override : true
24+ target : x86_64-pc-windows-gnu
25+
26+ - name : Rust Cache
27+ uses : Swatinem/rust-cache@v2.5.1
28+
29+ - name : Rustfmt
30+ uses : actions-rs/cargo@v1
31+ with :
32+ command : fmt
33+ args : --all -- --check
34+
35+ - name : Cargo check
36+ uses : actions-rs/cargo@v1
37+ with :
38+ command : check
39+
40+ - name : Clippy
41+ uses : actions-rs/cargo@v1
42+ with :
43+ command : clippy
44+ args : --all-targets --all-features
45+
46+ - name : Build
47+ uses : actions-rs/cargo@v1
48+ with :
49+ command : build
50+ args : --release
You can’t perform that action at this time.
0 commit comments