Skip to content

Commit 040cf65

Browse files
committed
ci: run intern tests via cargo miri
1 parent 3ed13b4 commit 040cf65

File tree

2 files changed

+7
-2
lines changed

2 files changed

+7
-2
lines changed

.github/workflows/ci.yaml

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -143,9 +143,15 @@ jobs:
143143
run: target/${{ matrix.target }}/debug/rust-analyzer analysis-stats --with-deps --no-sysroot --no-test $(rustc --print sysroot)/lib/rustlib/src/rust/library/
144144

145145
- name: clippy
146-
if: matrix.os == 'windows-latest'
146+
if: matrix.os == 'macos-latest'
147147
run: cargo clippy --all-targets -- -D clippy::disallowed_macros -D clippy::dbg_macro -D clippy::todo -D clippy::print_stdout -D clippy::print_stderr
148148

149+
- name: clippy
150+
if: matrix.os == 'windows-latest'
151+
run: |
152+
rustup component add miri
153+
cargo miri test -p intern
154+
149155
- name: rustfmt
150156
if: matrix.os == 'ubuntu-latest'
151157
run: cargo fmt -- --check

crates/intern/Cargo.toml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,6 @@ rust-version.workspace = true
1313

1414

1515
[dependencies]
16-
# We need to freeze the version of the crate, as the raw-api feature is considered unstable
1716
dashmap.workspace = true
1817
hashbrown.workspace = true
1918
rustc-hash.workspace = true

0 commit comments

Comments
 (0)