File tree Expand file tree Collapse file tree 1 file changed +38
-0
lines changed Expand file tree Collapse file tree 1 file changed +38
-0
lines changed Original file line number Diff line number Diff line change
1
+ name : CI
2
+
3
+ on :
4
+ push :
5
+ branches : [main]
6
+ pull_request :
7
+ branches : [main]
8
+
9
+ jobs :
10
+ test :
11
+ name : Rust ${{ matrix.rust }} • ${{ matrix.os }}
12
+ runs-on : ${{ matrix.os }}
13
+ strategy :
14
+ fail-fast : false
15
+ matrix :
16
+ os : [ubuntu-latest]
17
+ rust : [stable]
18
+
19
+ steps :
20
+ - uses : actions/checkout@v4
21
+
22
+ - name : Install Rust
23
+ uses : actions-rs/toolchain@v1
24
+ with :
25
+ toolchain : ${{ matrix.rust }}
26
+ override : true
27
+ components : clippy, rustfmt
28
+
29
+ - name : Cargo fmt (check only)
30
+ run : cargo fmt --all -- --check
31
+
32
+ - name : Clippy (deny warnings)
33
+ run : cargo clippy --all-targets --all-features -- -D warnings
34
+
35
+ - name : Test
36
+ env :
37
+ RUST_BACKTRACE : 1
38
+ run : cargo test --all-features --all-targets
You can’t perform that action at this time.
0 commit comments