File tree Expand file tree Collapse file tree 2 files changed +69
-50
lines changed Expand file tree Collapse file tree 2 files changed +69
-50
lines changed Original file line number Diff line number Diff line change 1+ on :
2+ push :
3+ branches :
4+ - main
5+ pull_request :
6+ branches :
7+ - main
8+
9+ name : CI
10+
11+ jobs :
12+ test :
13+ name : tests
14+ runs-on : ubuntu-latest
15+ strategy :
16+ matrix :
17+ rust :
18+ - 1.22.0
19+ - stable
20+ - beta
21+ - nightly
22+ steps :
23+ - uses : actions/checkout@v2
24+ - uses : actions-rs/toolchain@v1
25+ with :
26+ profile : minimal
27+ toolchain : ${{ matrix.rust }}
28+ override : true
29+ - uses : actions-rs/cargo@v1
30+ with :
31+ command : test
32+ args : --verbose --features "strict"
33+
34+ fmt :
35+ name : fmt
36+ runs-on : ubuntu-latest
37+ steps :
38+ - uses : actions/checkout@v2
39+ - uses : actions-rs/toolchain@v1
40+ with :
41+ profile : minimal
42+ toolchain : stable
43+ override : true
44+ - run : rustup component add rustfmt
45+ - uses : actions-rs/cargo@v1
46+ with :
47+ command : fmt
48+ args : --all -- --check
49+
50+ clippy :
51+ name : clippy
52+ runs-on : ubuntu-latest
53+ steps :
54+ - uses : actions/checkout@v2
55+ - uses : actions-rs/toolchain@v1
56+ with :
57+ profile : minimal
58+ toolchain : stable
59+ override : true
60+ - run : rustup component add clippy
61+ - uses : actions-rs/cargo@v1
62+ with :
63+ command : clippy
64+ args : -- -D warnings
65+ - uses : actions-rs/cargo@v1
66+ with :
67+ command : clippy
68+ # Allow deprecated because we test the no_std feature.
69+ args : --all-features -- -D warnings -A deprecated
Load Diff This file was deleted.
You can’t perform that action at this time.
0 commit comments