File tree Expand file tree Collapse file tree 1 file changed +19
-2
lines changed Expand file tree Collapse file tree 1 file changed +19
-2
lines changed Original file line number Diff line number Diff line change 1
1
name : Continuous integration
2
2
on : [push, pull_request]
3
3
4
+ env :
5
+ RUSTFLAGS : " -Dwarnings"
6
+ RUSTDOCFLAGS : " -Dwarnings"
7
+
4
8
jobs :
5
- ci :
9
+ test :
6
10
runs-on : ubuntu-latest
7
11
steps :
8
- - uses : actions/checkout@v3
12
+ - uses : actions/checkout@v4
9
13
- uses : dtolnay/rust-toolchain@stable
10
14
- run : cargo build
11
15
- run : cargo test
16
+
17
+ checks :
18
+ name : Check clippy, formatting, and documentation
19
+ runs-on : ubuntu-latest
20
+ steps :
21
+ - uses : actions/checkout@v4
22
+ - uses : dtolnay/rust-toolchain@1.81.0
23
+ with :
24
+ components : clippy, rustfmt
25
+ - uses : Swatinem/rust-cache@v2
26
+ - run : cargo clippy --workspace --all-targets --all-features
27
+ - run : cargo fmt --check --all
28
+ - run : cargo doc --workspace --no-deps
You can’t perform that action at this time.
0 commit comments