File tree Expand file tree Collapse file tree 1 file changed +17
-4
lines changed
Expand file tree Collapse file tree 1 file changed +17
-4
lines changed Original file line number Diff line number Diff line change @@ -15,30 +15,43 @@ jobs:
1515 steps :
1616 - uses : actions/checkout@v3
1717 - uses : dtolnay/rust-toolchain@stable
18- - name : cargo fmt --check
18+ - name : format
1919 run : cargo fmt --check
20+
2021 check :
2122 runs-on : ubuntu-latest
2223 steps :
2324 - uses : actions/checkout@v3
2425 - uses : dtolnay/rust-toolchain@stable
25- - name : cargo check --verbose
26+ - name : check
2627 run : cargo check --verbose
28+
2729 clippy :
2830 runs-on : ubuntu-latest
2931 steps :
3032 - uses : actions/checkout@v3
3133 - uses : dtolnay/rust-toolchain@stable
32- - name : cargo clippy -- -D warning
34+ - name : clippy
3335 run : cargo clippy -- -D warnings
3436
3537 test :
3638 runs-on : ubuntu-latest
3739 steps :
3840 - uses : actions/checkout@v3
39- - name : Test
41+ - name : test
4042 run : cargo test --verbose
4143
44+ doc :
45+ runs-on : ubuntu-latest
46+ env :
47+ RUSTFLAGS : -D warnings
48+ RUSTDOCFLAGS : --cfg docsrs
49+ steps :
50+ - uses : actions/checkout@v3
51+ - uses : dtolnay/rust-toolchain@nightly
52+ - name : document
53+ run : cargo +nightly doc --all-features
54+
4255 coverage :
4356 runs-on : ubuntu-latest
4457 steps :
You can’t perform that action at this time.
0 commit comments