Skip to content

Commit

Permalink
Added miri test action
Browse files Browse the repository at this point in the history
`miri` actually caught a non-bug (in my opinion), but sure thing, I've
changes the code so that `miri` won't complain.
  • Loading branch information
Dzuchun committed Nov 17, 2024
1 parent eed7b03 commit 6d20316
Showing 1 changed file with 25 additions and 0 deletions.
25 changes: 25 additions & 0 deletions .github/workflows/miri.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
name: UB test

on:
push:
branches: [ master ]

env:
CARGO_TERM_COLOR: always

jobs:
run_miri:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v3

- name: Setup toolchain
uses: actions-rs/toolchain@v1
with:
profile: minimal
toolchain: nightly
components: miri

- name: run miri
run: cargo +nightly miri test --many-seeds=0..8

0 comments on commit 6d20316

Please sign in to comment.