Skip to content

Commit 236208f

Browse files
authored
chore: move forge and cast binaries to their own crates (foundry-rs#5652)
* move out * wip moving tests * back to crates * fixes * unused deps and fix tests * fix ci * fixes * update foundryup * features * fixtest
1 parent 5ccdac7 commit 236208f

File tree

196 files changed

+563
-640
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

196 files changed

+563
-640
lines changed

.github/workflows/cross-platform.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -183,7 +183,7 @@ jobs:
183183
if: matrix.nextest.name != 'non-forking'
184184
with:
185185
path: "$HOME/.foundry/cache"
186-
key: rpc-cache-${{ hashFiles('cli/tests/rpc-cache-keyfile') }}
186+
key: rpc-cache-${{ hashFiles('crates/forge/tests/rpc-cache-keyfile') }}
187187
- name: Setup git config
188188
run: |
189189
git config --global user.name "GitHub Actions Bot"

.github/workflows/deny.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,5 +21,5 @@ jobs:
2121
with:
2222
command: check all
2323
# Clear out arguments to not pass `--all-features` to `cargo deny`.
24-
# `foundry-cli` has an `openssl` feature which enables banned dependencies
24+
# many crates have an `openssl` feature which enables banned dependencies
2525
arguments: ""

.github/workflows/heavy-integration.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ jobs:
1818
archive:
1919
- name: heavy-integration-tests
2020
file: heavy-integration.tar.zst
21-
flags: -p foundry-cli --features heavy-integration-tests
21+
flags: -p forge --features heavy-integration-tests
2222
steps:
2323
- uses: actions/checkout@v3
2424
- uses: dtolnay/rust-toolchain@stable
@@ -75,7 +75,7 @@ jobs:
7575
if: matrix.job.name != 'non-forking'
7676
with:
7777
path: "$HOME/.foundry/cache"
78-
key: rpc-cache-${{ hashFiles('cli/tests/rpc-cache-keyfile') }}
78+
key: rpc-cache-${{ hashFiles('crates/forge/tests/rpc-cache-keyfile') }}
7979

8080
- name: Setup git config
8181
run: |
@@ -100,4 +100,4 @@ jobs:
100100
WORKFLOW_URL: ${{ github.server_url }}/${{ github.repository }}/actions/runs/${{ github.run_id }}
101101
with:
102102
update_existing: true
103-
filename: .github/INTEGRATION_FAILURE.md
103+
filename: .github/INTEGRATION_FAILURE.md

.github/workflows/test.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ jobs:
2424
flags: --workspace
2525
- name: external-integration-tests
2626
file: nextest-external-integration.tar.zst
27-
flags: -p foundry-cli --features external-integration-tests
27+
flags: -p forge --features external-integration-tests
2828
steps:
2929
- uses: actions/checkout@v3
3030
- uses: dtolnay/rust-toolchain@stable
@@ -110,7 +110,7 @@ jobs:
110110
if: matrix.job.name != 'issue-repros'
111111
with:
112112
path: "$HOME/.foundry/cache"
113-
key: rpc-cache-${{ hashFiles('cli/tests/rpc-cache-keyfile') }}
113+
key: rpc-cache-${{ hashFiles('crates/forge/tests/rpc-cache-keyfile') }}
114114
- name: Setup git config
115115
run: |
116116
git config --global user.name "GitHub Actions Bot"
@@ -147,7 +147,7 @@ jobs:
147147
if: matrix.job.name != 'forge-std-test'
148148
with:
149149
path: "$HOME/.foundry/cache"
150-
key: rpc-cache-${{ hashFiles('cli/tests/rpc-cache-keyfile') }}
150+
key: rpc-cache-${{ hashFiles('crates/forge/tests/rpc-cache-keyfile') }}
151151
- name: Setup git config
152152
run: |
153153
git config --global user.name "GitHub Actions Bot"
@@ -187,7 +187,7 @@ jobs:
187187
if: matrix.job.name != 'non-forking'
188188
with:
189189
path: "$HOME/.foundry/cache"
190-
key: rpc-cache-${{ hashFiles('cli/tests/rpc-cache-keyfile') }}
190+
key: rpc-cache-${{ hashFiles('crates/forge/tests/rpc-cache-keyfile') }}
191191
- name: Setup git config
192192
run: |
193193
git config --global user.name "GitHub Actions Bot"
@@ -226,7 +226,7 @@ jobs:
226226
if: matrix.job.name != 'non-forking'
227227
with:
228228
path: "$HOME/.foundry/cache"
229-
key: rpc-cache-${{ hashFiles('cli/tests/rpc-cache-keyfile') }}
229+
key: rpc-cache-${{ hashFiles('crates/forge/tests/rpc-cache-keyfile') }}
230230

231231
- name: Setup git config
232232
run: |

0 commit comments

Comments
 (0)