Skip to content

Commit 6db31a1

Browse files
committed
Run miri on nightly
1 parent a6b30d8 commit 6db31a1

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

.github/workflows/main.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,7 @@ jobs:
3636
profile: minimal
3737
toolchain: ${{ matrix.toolchain }}
3838
override: true
39+
components: ${{ matrix.toolchain == 'nightly' && 'miri,rust-src' || '' }}
3940

4041
- name: Cargo build
4142
run: cargo build ${{ matrix.features }}
@@ -50,6 +51,10 @@ jobs:
5051
run: cargo build
5152
working-directory: macros
5253

54+
- name: Cargo miri test
55+
if: "matrix.toolchain == 'nightly'"
56+
run: cargo miri test ${{ matrix.features }}
57+
5358
build_result:
5459
name: Result
5560
runs-on: ubuntu-latest

0 commit comments

Comments
 (0)