Skip to content

Commit

Permalink
ci(miri): run Miri on oxc_ast crate (#9370)
Browse files Browse the repository at this point in the history
#9359 introduced unsafe code to `oxc_ast` crate. Run Miri on `oxc_ast`
crate, but only when the files containing that unsafe code are altered.
  • Loading branch information
overlookmotel authored Feb 26, 2025
1 parent 835ee95 commit 28eb816
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .github/workflows/miri.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,8 @@ on:
types: [opened, synchronize]
paths:
- "crates/oxc_allocator/**"
- "crates/oxc_ast/src/utf8_to_utf16.rs"
- "crates/oxc_ast/src/generated/utf8_to_utf16_converter.rs"
- "crates/oxc_data_structures/**"
- "crates/oxc_parser/**"
- "crates/oxc_traverse/**"
Expand All @@ -17,6 +19,8 @@ on:
- main
paths:
- "crates/oxc_allocator/**"
- "crates/oxc_ast/src/utf8_to_utf16.rs"
- "crates/oxc_ast/src/generated/utf8_to_utf16_converter.rs"
- "crates/oxc_data_structures/**"
- "crates/oxc_parser/**"
- "crates/oxc_traverse/**"
Expand Down Expand Up @@ -47,5 +51,6 @@ jobs:
- name: Test with Miri
run: |
cargo miri test -p oxc_ast --all-features
cargo miri test -p oxc_parser
cargo miri test -p oxc_transformer

0 comments on commit 28eb816

Please sign in to comment.