File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -25,15 +25,14 @@ jobs:
2525 fetch-depth : 1
2626 persist-credentials : false
2727
28+ - uses : dtolnay/rust-toolchain@stable
29+
2830 - uses : Swatinem/rust-cache@v2
2931
3032 - name : Setup pages
3133 id : pages
3234 uses : actions/configure-pages@v5
3335
34- - name : Clean docs folder
35- run : cargo clean --doc
36-
3736 # Documentation with Latex support
3837 # TODO(template) if Latex is not needed
3938 # just remove katex-header.html at the root and RUSTDOCFLAGS here
Original file line number Diff line number Diff line change 11name : UB (undefined behavior) detection
22
3- on : push
3+ on :
4+ push :
5+ branches : [main]
6+ paths-ignore :
7+ - " **.md"
8+ - " LICENSE*"
9+ - " .github/workflows/docs.yml"
10+ - " katex-header.html"
11+ pull_request :
12+ branches : [main]
13+ paths-ignore :
14+ - " **.md"
15+ - " LICENSE*"
16+ - " .github/workflows/docs.yml"
17+ - " katex-header.html"
418
519permissions :
620 contents : read
@@ -23,12 +37,20 @@ jobs:
2337 runs-on : ubuntu-latest
2438 steps :
2539 - uses : actions/checkout@v4
40+ - uses : dtolnay/rust-toolchain@nightly
41+ with :
42+ components : miri
2643 - uses : Swatinem/rust-cache@v2
2744 with :
2845 cache-on-failure : true
46+ <<<<<<< HEAD
2947 - run : |
3048 rustup +nightly component add miri
3149 cargo +nightly miri setup
3250 PROPTEST_DISABLE_FAILURE_PERSISTENCE=true \
3351 MIRIFLAGS="-Zmiri-env-forward=PROPTEST_DISABLE_FAILURE_PERSISTENCE -Zmiri-strict-provenance" \
3452 cargo +nightly miri test --lib
53+ =======
54+ - name : Run Miri
55+ run : MIRIFLAGS="-Zmiri-strict-provenance" cargo +nightly miri test --lib
56+ >>>>>>> 5d9ff19 (ci: use miri as component and skip docs only change re-run)
You can’t perform that action at this time.
0 commit comments