From f04a57742efae257720e422f0b6a29aebc524e74 Mon Sep 17 00:00:00 2001 From: Boshen Date: Mon, 15 Jan 2024 18:42:49 +0800 Subject: [PATCH] ci: use miri to test the parser --- .github/workflows/miri.yml | 5 +++-- tasks/coverage/babel | 2 +- tasks/coverage/test262 | 2 +- tasks/coverage/typescript | 2 +- tasks/prettier_conformance/prettier | 2 +- 5 files changed, 7 insertions(+), 6 deletions(-) diff --git a/.github/workflows/miri.yml b/.github/workflows/miri.yml index c9f9f5957077e2..57f2550fa08fd5 100644 --- a/.github/workflows/miri.yml +++ b/.github/workflows/miri.yml @@ -17,8 +17,9 @@ jobs: - name: Install Miri run: | - rustup component add miri + rustup toolchain install nightly --component miri + rustup override set nightly cargo miri setup - name: Test with Miri - run: MIRIFLAGS="-Zmiri-disable-isolation" cargo miri test + run: MIRIFLAGS="-Zmiri-disable-isolation" cargo miri test -p oxc_parser diff --git a/tasks/coverage/babel b/tasks/coverage/babel index 7c29fbc4db7809..98c08853e3518c 160000 --- a/tasks/coverage/babel +++ b/tasks/coverage/babel @@ -1 +1 @@ -Subproject commit 7c29fbc4db7809d24789235b0597e7e8dd61c4ae +Subproject commit 98c08853e3518c8e311a0d45f73f5ef4efae5d77 diff --git a/tasks/coverage/test262 b/tasks/coverage/test262 index 467a0fe68f633f..a1ba783ca340e4 160000 --- a/tasks/coverage/test262 +++ b/tasks/coverage/test262 @@ -1 +1 @@ -Subproject commit 467a0fe68f633fabde77df94d993c45e840627a0 +Subproject commit a1ba783ca340e4bf3d80b5f5e11fa54f2ee5f1ef diff --git a/tasks/coverage/typescript b/tasks/coverage/typescript index b6121e400cf863..cf33fd0cde2290 160000 --- a/tasks/coverage/typescript +++ b/tasks/coverage/typescript @@ -1 +1 @@ -Subproject commit b6121e400cf8636760aa8a7da6b7fac14e2e70c7 +Subproject commit cf33fd0cde22905effce371bb02484a9f2009023 diff --git a/tasks/prettier_conformance/prettier b/tasks/prettier_conformance/prettier index 8d64505bd47bdd..ff83d55d05e92c 160000 --- a/tasks/prettier_conformance/prettier +++ b/tasks/prettier_conformance/prettier @@ -1 +1 @@ -Subproject commit 8d64505bd47bddb5f559f4a1eead64a158d81c5a +Subproject commit ff83d55d05e92ceef10ec0cb1c0272ab894a00a0