mirror of
https://gitee.com/openharmony/third_party_rust_syn
synced 2024-11-23 16:00:10 +00:00
Add a miri test job in CI
This commit is contained in:
parent
51f0f43607
commit
5ccc98edc8
10
.github/workflows/ci.yml
vendored
10
.github/workflows/ci.yml
vendored
@ -108,6 +108,16 @@ jobs:
|
|||||||
- run: cargo update -Z minimal-versions
|
- run: cargo update -Z minimal-versions
|
||||||
- run: cargo check --all-features
|
- run: cargo check --all-features
|
||||||
|
|
||||||
|
miri:
|
||||||
|
name: Miri
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
steps:
|
||||||
|
- uses: actions/checkout@v2
|
||||||
|
- uses: dtolnay/rust-toolchain@nightly
|
||||||
|
with:
|
||||||
|
components: miri
|
||||||
|
- run: cargo miri test --all-features
|
||||||
|
|
||||||
clippy:
|
clippy:
|
||||||
name: Clippy
|
name: Clippy
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
|
Loading…
Reference in New Issue
Block a user