@@ -67,11 +67,16 @@ jobs:
67
67
68
68
- run : yarn compile
69
69
70
- - name : Upload compilation results
70
+ - name : Upload compilation results (hardhat)
71
71
uses : actions/upload-artifact@v4
72
72
with :
73
73
name : all-artifacts
74
74
path : packages/**/artifacts/**
75
+ - name : Upload compilation results (forge)
76
+ uses : actions/upload-artifact@v4
77
+ with :
78
+ name : all-artifacts-forge
79
+ path : packages/**/out/**
75
80
76
81
style :
77
82
needs : deps
@@ -97,6 +102,11 @@ jobs:
97
102
98
103
steps :
99
104
- uses : actions/checkout@v4
105
+ # TODO: right now forge and node tooling coexist, eventually keep only forge action
106
+ - uses : foundry-rs/foundry-toolchain@v1
107
+ with :
108
+ version : nightly
109
+
100
110
- uses : actions/setup-node@v4
101
111
with :
102
112
node-version : 20
@@ -108,11 +118,10 @@ jobs:
108
118
with :
109
119
name : all-artifacts
110
120
path : packages/
111
-
112
- # TODO: right now forge and node tooling coexist, eventually keep only forge action
113
- - uses : foundry-rs/foundry-toolchain@v1
121
+ - uses : actions/download-artifact@v4
114
122
with :
115
- version : nightly
123
+ name : all-artifacts-forge
124
+ path : packages/
116
125
117
126
- if : contains(needs.changed-files.outputs.modified_files, matrix.dir)
118
127
name : Test
@@ -168,6 +177,11 @@ jobs:
168
177
with :
169
178
path : node_modules
170
179
key : ${{ needs.deps.outputs.cache-key }}
180
+ # TODO: right now forge and node tooling coexist, eventually keep only forge action
181
+ - uses : foundry-rs/foundry-toolchain@v1
182
+ with :
183
+ version : nightly
184
+
171
185
- if : contains(needs.changed-files.outputs.modified_files, matrix.dir)
172
186
name : Compile contracts
173
187
run : |
0 commit comments