Skip to content

Commit 41f37a2

Browse files
committed
ci: enable optimizer on compilation
Foundry v1 requires the optimizer to be set to true in order to use --via-ir that we need to avoid a stack too deep error in the tests.
1 parent 12d891e commit 41f37a2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/test.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ jobs:
2727
- name: Run Forge build
2828
run: |
2929
forge --version
30-
forge build --sizes --via-ir
30+
forge build --sizes --via-ir --optimize true
3131
id: build
3232

3333
- name: Check formatting

0 commit comments

Comments
 (0)