From bd2bc74d06d7831689cdd80981ddd75a0a7dc5bf Mon Sep 17 00:00:00 2001 From: Enrique Ortiz Date: Fri, 18 Aug 2023 18:50:23 -0400 Subject: [PATCH] fix(ci): force using http for submodules & setup git config on heavy --- .github/workflows/heavy-integration.yml | 6 ++++++ .github/workflows/test.yml | 2 ++ 2 files changed, 8 insertions(+) diff --git a/.github/workflows/heavy-integration.yml b/.github/workflows/heavy-integration.yml index db45353eb85da..dc5e7e08e50d1 100644 --- a/.github/workflows/heavy-integration.yml +++ b/.github/workflows/heavy-integration.yml @@ -27,6 +27,12 @@ jobs: ~/.foundry/cache ~/.config/.foundry/cache key: rpc-cache-${{ hashFiles('crates/forge/tests/rpc-cache-keyfile') }} + - name: Setup git config + run: | + git config --global user.name "GitHub Actions Bot" + git config --global user.email "<>" + - name: Force use of HTTPS for submodules + run: git config --global url."https://github.com/".insteadOf "git@github.com:" - name: test run: | cargo nextest run -r -p forge --test cli --features heavy-integration-tests --retries 1 -E 'test(~heavy_integration)' diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 3d5f3c0af4f8b..99305949e713e 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -96,6 +96,8 @@ jobs: run: | git config --global user.name "GitHub Actions Bot" git config --global user.email "<>" + - name: Force use of HTTPS for submodules + run: git config --global url."https://github.com/".insteadOf "git@github.com:" - name: Test shell: bash run: |