Skip to content

Commit 91a0e2d

Browse files
committed
Update foundry_ci.yml
1 parent 44408b5 commit 91a0e2d

File tree

1 file changed

+12
-2
lines changed

1 file changed

+12
-2
lines changed

.github/workflows/foundry_ci.yml

+12-2
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ jobs:
2222
with:
2323
submodules: recursive
2424
fetch-depth: 0
25-
25+
2626
- name: Run install
2727
uses: borales/actions-yarn@v4
2828
with:
@@ -33,12 +33,18 @@ jobs:
3333
with:
3434
version: nightly
3535

36+
- name: Create .env
37+
run: |
38+
touch .env
39+
echo "MULTISIG_ADDRESS=${{ secrets.MULTISIG_ADDRESS }}" >> .env
40+
41+
3642
# first, build contracts excluding the tests and scripts. Check contract sizes in this step.
3743
- name: Run Contract Size check
3844
run: |
3945
forge --version
4046
forge build --force --sizes --skip test --skip script
41-
47+
4248
# This step requires full build to be run first
4349
- name: Upgrade Safety test
4450
run: |
@@ -53,6 +59,10 @@ jobs:
5359
- name: Run solhint
5460
run: npx solhint contracts/**/*.sol
5561

62+
- name: Remove .env
63+
run: rm .env
64+
65+
5666
Coverage:
5767
needs: [foundry-test]
5868
uses: storyprotocol/gha-workflows/.github/workflows/reusable-forge-code-coverage.yml@main

0 commit comments

Comments
 (0)