Skip to content

Commit b4ba717

Browse files
Evalirmikelodder7
authored andcommitted
fix(ci): force using http for submodules & setup git config on heavy (foundry-rs#5668)
1 parent a08c441 commit b4ba717

File tree

2 files changed

+8
-0
lines changed

2 files changed

+8
-0
lines changed

.github/workflows/heavy-integration.yml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,12 @@ jobs:
2727
~/.foundry/cache
2828
~/.config/.foundry/cache
2929
key: rpc-cache-${{ hashFiles('crates/forge/tests/rpc-cache-keyfile') }}
30+
- name: Setup git config
31+
run: |
32+
git config --global user.name "GitHub Actions Bot"
33+
git config --global user.email "<>"
34+
- name: Force use of HTTPS for submodules
35+
run: git config --global url."https://github.com/".insteadOf "git@github.com:"
3036
- name: test
3137
run: |
3238
cargo nextest run -r -p forge --test cli --features heavy-integration-tests --retries 1 -E 'test(~heavy_integration)'

.github/workflows/test.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -96,6 +96,8 @@ jobs:
9696
run: |
9797
git config --global user.name "GitHub Actions Bot"
9898
git config --global user.email "<>"
99+
- name: Force use of HTTPS for submodules
100+
run: git config --global url."https://github.com/".insteadOf "git@github.com:"
99101
- name: Test
100102
shell: bash
101103
run: |

0 commit comments

Comments
 (0)