From ded52767c073875826474ea3034109914112e682 Mon Sep 17 00:00:00 2001 From: ImJeremyHe Date: Tue, 27 Aug 2024 13:33:08 +0800 Subject: [PATCH] Bodge for checkout action --- .github/workflows/ci.yml | 9 +++++++++ .github/workflows/espresso-e2e.yml | 5 ++++- 2 files changed, 13 insertions(+), 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 977845f23d2..abe01bc535e 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -35,11 +35,20 @@ jobs: test-mode: [defaults, race, challenge, stylus, long] steps: + - name: Remove orbit actions + run: | + rm -rf orbit-actions - name: Checkout uses: actions/checkout@v4 with: submodules: true + - name: Submodule # Bodge for https://github.com/actions/checkout/issues/1855 + run: | + git submodule update --init + git submodule foreach --recursive git clean -ffdx + git submodule foreach --recursive git reset --hard + - name: Install dependencies run: > sudo apt update && sudo apt install -y wabt gotestsum diff --git a/.github/workflows/espresso-e2e.yml b/.github/workflows/espresso-e2e.yml index de8d7afd8c2..f4f238b604f 100644 --- a/.github/workflows/espresso-e2e.yml +++ b/.github/workflows/espresso-e2e.yml @@ -18,8 +18,11 @@ jobs: runs-on: ubuntu-latest steps: + - name: Remove orbit actions + run: | + rm -rf orbit-actions - name: Checkout - uses: actions/checkout@v3 + uses: actions/checkout@v4 with: submodules: true