diff --git a/.github/actions/clone-submodules/action.yml b/.github/actions/clone-submodules/action.yml new file mode 100644 index 0000000000000..d3466eb7b6782 --- /dev/null +++ b/.github/actions/clone-submodules/action.yml @@ -0,0 +1,30 @@ +name: Clone submodules + +description: Clone submodules + +runs: + using: composite + steps: + - uses: actions/checkout@v4 + with: + repository: tc39/test262 + path: tasks/coverage/test262 + ref: 17ba9aea47e496f5b2bc6ce7405b3f32e3cfbf7a + + - uses: actions/checkout@v4 + with: + repository: babel/babel + path: tasks/coverage/babel + ref: eccbd203383487f6957dcf086aa83d773691560b + + - uses: actions/checkout@v4 + with: + repository: microsoft/TypeScript + path: tasks/coverage/typescript + ref: 64d2eeea7b9c7f1a79edf42cb99f302535136a2e + + - uses: actions/checkout@v4 + with: + repository: prettier/prettier + path: tasks/prettier_conformance/prettier + ref: ff83d55d05e92ceef10ec0cb1c0272ab894a00a0 diff --git a/.github/workflows/codecov.yml b/.github/workflows/codecov.yml index 002be70c07c7e..16cde82a64ab0 100644 --- a/.github/workflows/codecov.yml +++ b/.github/workflows/codecov.yml @@ -23,16 +23,16 @@ jobs: - name: Checkout uses: actions/checkout@v4 + - name: Clone submodules + uses: ./.github/actions/clone-submodules + - name: Install Rust Toolchain uses: ./.github/actions/rustup - name: Install cargo-llvm-cov uses: taiki-e/install-action@v2 with: - tool: cargo-llvm-cov,just - - - name: Clone modules - run: just submodules + tool: cargo-llvm-cov - name: Install llvm-tools-preview for llvm-cov run: rustup component add llvm-tools-preview diff --git a/.github/workflows/conformance.yml b/.github/workflows/conformance.yml index 86646ea5e613b..e16f8a3e71e5e 100644 --- a/.github/workflows/conformance.yml +++ b/.github/workflows/conformance.yml @@ -46,13 +46,8 @@ jobs: - name: Install Rust Toolchain uses: ./.github/actions/rustup - - name: Install just - uses: taiki-e/install-action@v2 - with: - tool: just - - - name: Clone modules - run: just submodules + - name: Clone submodules + uses: ./.github/actions/clone-submodules - name: Set up Bun uses: oven-sh/setup-bun@v1