Skip to content

Commit

Permalink
ci: temporary fix git clones
Browse files Browse the repository at this point in the history
  • Loading branch information
Boshen committed Feb 2, 2024
1 parent 37a2676 commit 54dfd91
Show file tree
Hide file tree
Showing 3 changed files with 36 additions and 11 deletions.
30 changes: 30 additions & 0 deletions .github/actions/clone-submodules/action.yml
Original file line number Diff line number Diff line change
@@ -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
8 changes: 4 additions & 4 deletions .github/workflows/codecov.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
9 changes: 2 additions & 7 deletions .github/workflows/conformance.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 54dfd91

Please sign in to comment.