File tree Expand file tree Collapse file tree 1 file changed +19
-4
lines changed
Expand file tree Collapse file tree 1 file changed +19
-4
lines changed Original file line number Diff line number Diff line change @@ -21,16 +21,31 @@ jobs:
2121 - name : Checkout code
2222 uses : actions/checkout@v4
2323
24- - name : Tests
24+ - name : rustup components
2525 shell : sh
2626 run : |
2727 rustup component add clippy rustfmt
28+ rustup install nightly --profile minimal
29+ rustup +nightly component add miri
30+
31+ - name : Clippy, fmt
32+ shell : sh
33+ run : |
2834 cargo clippy
2935 cargo fmt --check
36+
37+ - name : Doc (stable, nightly)
38+ shell : sh
39+ run : |
3040 cargo doc --no-deps --quiet
41+ RUSTDOCFLAGS="--forbid rustdoc::invalid_codeblock_attributes \
42+ --forbid rustdoc::missing_doc_code_examples \
43+ -Zcrate-attr=feature(rustdoc_missing_doc_code_examples)" \
44+ cargo +nightly doc --no-deps --quiet
45+
46+ - name : Tests (debug, release, MIRI)
47+ shell : sh
48+ run : |
3149 cargo test
3250 cargo test --release
33- rustup install nightly --profile minimal
34- rustup +nightly component add miri
3551 cargo +nightly miri test
36- RUSTDOCFLAGS="--forbid rustdoc::invalid_codeblock_attributes --forbid rustdoc::missing_doc_code_examples -Zcrate-attr=feature(rustdoc_missing_doc_code_examples)" cargo +nightly doc
You can’t perform that action at this time.
0 commit comments