File tree Expand file tree Collapse file tree 1 file changed +66
-0
lines changed
Expand file tree Collapse file tree 1 file changed +66
-0
lines changed Original file line number Diff line number Diff line change 1+ name : CI
2+
3+ on : [push, pull_request]
4+
5+ jobs :
6+ cargo-deny :
7+ name : cargo-deny
8+ runs-on : ubuntu-latest
9+ steps :
10+ - uses : actions/checkout@v4
11+
12+ - uses : EmbarkStudios/cargo-deny-action@v2
13+
14+ fmt :
15+ name : rustfmt / 1.85.0
16+ runs-on : ubuntu-latest
17+
18+ steps :
19+ - uses : actions/checkout@v4
20+
21+ 22+ with :
23+ components : rustfmt
24+
25+ - name : Rust rustfmt
26+ run : cargo fmt --all -- --check
27+
28+ clippy :
29+ name : clippy / 1.85.0
30+ runs-on : ubuntu-latest
31+
32+ steps :
33+ - uses : actions/checkout@v4
34+
35+ 36+ with :
37+ components : clippy
38+
39+ - name : Run clippy
40+ run : cargo clippy --all-features -- -D warnings
41+
42+ test :
43+ name : test / ${{ matrix.name }}
44+ runs-on : ubuntu-latest
45+
46+ strategy :
47+ matrix :
48+ include :
49+ - name : stable
50+ rust : stable
51+ - name : beta
52+ rust : beta
53+ - name : nightly
54+ rust : nightly
55+ - name : 1.83.0
56+ rust : 1.83.0
57+
58+ steps :
59+ - uses : actions/checkout@v4
60+
61+ - uses : dtolnay/rust-toolchain@master
62+ with :
63+ toolchain : ${{ matrix.rust }}
64+
65+ - name : Run tests
66+ run : cargo test
You can’t perform that action at this time.
0 commit comments