Skip to content

chore: fix contributors typo #140

chore: fix contributors typo

chore: fix contributors typo #140

Workflow file for this run

name: UB (undefined behavior) detection
on:
push:
branches: [main]
paths-ignore:
- "**.md"
- "LICENSE*"
- ".github/workflows/docs.yml"
- "katex-header.html"
pull_request:
branches: [main]
paths-ignore:
- "**.md"
- "LICENSE*"
- ".github/workflows/docs.yml"
- "katex-header.html"
permissions:
contents: read
concurrency:
group: ${{ github.workflow }}-${{ github.head_ref || github.run_id }}
cancel-in-progress: true
env:
CARGO_TERM_COLOR: always
CARGO_INCREMENTAL: 0
# Make sure CI fails on all warnings, including Clippy lints
RUSTFLAGS: "-Dwarnings"
jobs:
ub-detection:
if: github.event.pull_request.draft == false
name: Check for undefined behaviour (UB)
timeout-minutes: 30
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: dtolnay/rust-toolchain@nightly
with:
components: miri
- uses: Swatinem/rust-cache@v2
with:
cache-on-failure: true
<<<<<<< HEAD

Check failure on line 46 in .github/workflows/ub-detection.yml

View workflow run for this annotation

GitHub Actions / .github/workflows/ub-detection.yml

Invalid workflow file

You have an error in your yaml syntax on line 46
- run: |
rustup +nightly component add miri
cargo +nightly miri setup
PROPTEST_DISABLE_FAILURE_PERSISTENCE=true \
MIRIFLAGS="-Zmiri-env-forward=PROPTEST_DISABLE_FAILURE_PERSISTENCE -Zmiri-strict-provenance" \
cargo +nightly miri test --lib
=======
- name: Run Miri
run: MIRIFLAGS="-Zmiri-strict-provenance" cargo +nightly miri test --lib
>>>>>>> 5d9ff19 (ci: use miri as component and skip docs only change re-run)