File tree Expand file tree Collapse file tree 1 file changed +46
-0
lines changed Expand file tree Collapse file tree 1 file changed +46
-0
lines changed Original file line number Diff line number Diff line change 1+ name : CI
2+
3+ on :
4+ pull_request :
5+ push :
6+ branches :
7+ - master
8+
9+ jobs :
10+ test :
11+ name : Test with Rust ${{ matrix.rust }}
12+ runs-on : ubuntu-latest
13+ strategy :
14+ fail-fast : false
15+ matrix :
16+ rust : [1.33.0, stable, beta, nightly]
17+ steps :
18+ - uses : actions/checkout@v2
19+ - uses : hecrj/setup-rust-action@v1
20+ with :
21+ rust-version : ${{ matrix.rust }}
22+ - run : cargo test --verbose --all-features
23+ - run : cargo test --verbose --no-default-features
24+
25+ clippy :
26+ name : Lint with Clippy
27+ runs-on : ubuntu-latest
28+ env :
29+ RUSTFLAGS : -Dwarnings
30+ steps :
31+ - uses : actions/checkout@v2
32+ - uses : hecrj/setup-rust-action@v1
33+ with :
34+ components : clippy
35+ - run : cargo clippy --all-targets --verbose --no-default-features
36+ - run : cargo clippy --all-targets --verbose --all-features
37+
38+ test-minimal :
39+ name : Test minimal dependency version with Rust nightly
40+ runs-on : ubuntu-latest
41+ steps :
42+ - uses : actions/checkout@v2
43+ - uses : hecrj/setup-rust-action@v1
44+ with :
45+ rust-version : nightly
46+ - run : cargo test -Zminimal-versions --verbose --all-features
You can’t perform that action at this time.
0 commit comments