Skip to content

Merge pull request #278 from artichoke/dependabot/bundler/rexml-3.3.3 #782

Merge pull request #278 from artichoke/dependabot/bundler/rexml-3.3.3

Merge pull request #278 from artichoke/dependabot/bundler/rexml-3.3.3 #782

Workflow file for this run

---
name: Miri
"on":
push:
branches:
- trunk
pull_request:
branches:
- trunk
schedule:
- cron: "0 0 * * WED"
jobs:
miri:
name: Test with Miri
runs-on: ubuntu-latest
env:
RUST_BACKTRACE: 1
MIRIFLAGS: "-Zmiri-strict-provenance -Zmiri-symbolic-alignment-check -Zrandomize-layout"
steps:
- name: Checkout repository
uses: actions/[email protected]
- name: Install Rust toolchain
uses: artichoke/setup-rust/[email protected]
with:
toolchain: nightly
- name: Miri setup
run: cargo miri setup
- name: Miri test compile
run: cargo miri test --no-run
- name: Test unsafe code with Miri
run: cargo miri test --test leak_drop