-
Notifications
You must be signed in to change notification settings - Fork 39
313 lines (306 loc) · 9.55 KB
/
deployment-checks.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
name: Deployment
on:
push:
branches:
- master
pull_request:
branches: ['*', '**/*']
jobs:
check-artifacts:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Set up environment
uses: ./.github/actions/setup
- name: Check Deployment Artifacts
run: yarn check-artifacts
check-mainnet-deployments:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Check Mainnet Deployment Addresses
uses: ./.github/actions/check-network-deployments
env:
MAINNET_RPC_ENDPOINT: ${{ secrets.MAINNET_RPC_ENDPOINT }}
with:
network-name: mainnet
check-polygon-deployments:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Check Polygon Deployment Addresses
uses: ./.github/actions/check-network-deployments
env:
POLYGON_RPC_ENDPOINT: ${{ secrets.POLYGON_RPC_ENDPOINT }}
with:
network-name: polygon
check-arbitrum-deployments:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Check Arbitrum Deployment Addresses
uses: ./.github/actions/check-network-deployments
env:
ARBITRUM_RPC_ENDPOINT: ${{ secrets.ARBITRUM_RPC_ENDPOINT }}
with:
network-name: arbitrum
check-optimism-deployments:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Check Optimism Deployment Addresses
uses: ./.github/actions/check-network-deployments
env:
OPTIMISM_RPC_ENDPOINT: ${{ secrets.OPTIMISM_RPC_ENDPOINT }}
with:
network-name: optimism
check-bsc-deployments:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Check Binance Deployment Addresses
uses: ./.github/actions/check-network-deployments
env:
BINANCE_RPC_ENDPOINT: ${{ secrets.BINANCE_RPC_ENDPOINT }}
with:
network-name: bsc
check-gnosis-deployments:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Check Gnosis Deployment Addresses
uses: ./.github/actions/check-network-deployments
env:
GNOSIS_RPC_ENDPOINT: ${{ secrets.GNOSIS_RPC_ENDPOINT }}
with:
network-name: gnosis
check-avalanche-deployments:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Check Avalanche Deployment Addresses
uses: ./.github/actions/check-network-deployments
env:
AVALANCHE_RPC_ENDPOINT: ${{ secrets.AVALANCHE_RPC_ENDPOINT }}
with:
network-name: avalanche
check-zkevm-deployments:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Check Polygon-ZkEvm Deployment Addresses
uses: ./.github/actions/check-network-deployments
env:
ZKEVM_RPC_ENDPOINT: ${{ secrets.ZKEVM_RPC_ENDPOINT }}
with:
network-name: zkevm
check-base-deployments:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Check Base Deployment Addresses
uses: ./.github/actions/check-network-deployments
env:
BASE_RPC_ENDPOINT: ${{ secrets.BASE_RPC_ENDPOINT }}
with:
network-name: base
check-fraxtal-deployments:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Check Fraxtal Deployment Addresses
uses: ./.github/actions/check-network-deployments
env:
FRAXTAL_RPC_ENDPOINT: ${{ secrets.FRAXTAL_RPC_ENDPOINT }}
with:
network-name: fraxtal
check-mode-deployments:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Check Mode Deployment Addresses
uses: ./.github/actions/check-network-deployments
env:
MODE_RPC_ENDPOINT: ${{ secrets.MODE_RPC_ENDPOINT }}
with:
network-name: mode
check-sonic-deployments:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Check Sonic Deployment Addresses
uses: ./.github/actions/check-network-deployments
env:
SONIC_RPC_ENDPOINT: ${{ secrets.SONIC_RPC_ENDPOINT }}
with:
network-name: sonic
check-sepolia-deployments:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Check Sepolia Deployment Addresses
uses: ./.github/actions/check-network-deployments
env:
SEPOLIA_RPC_ENDPOINT: ${{ secrets.SEPOLIA_RPC_ENDPOINT }}
with:
network-name: sepolia
check-mainnet-action-ids:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Check Mainnet Action IDs
uses: ./.github/actions/check-network-action-ids
env:
MAINNET_RPC_ENDPOINT: ${{ secrets.MAINNET_RPC_ENDPOINT }}
with:
network-name: mainnet
check-polygon-action-ids:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Check Polygon Action IDs
uses: ./.github/actions/check-network-action-ids
env:
POLYGON_RPC_ENDPOINT: ${{ secrets.POLYGON_RPC_ENDPOINT }}
with:
network-name: polygon
check-arbitrum-action-ids:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Check Arbitrum Action IDs
uses: ./.github/actions/check-network-action-ids
env:
ARBITRUM_RPC_ENDPOINT: ${{ secrets.ARBITRUM_RPC_ENDPOINT }}
with:
network-name: arbitrum
check-optimism-action-ids:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Check Optimism Action IDs
uses: ./.github/actions/check-network-action-ids
env:
OPTIMISM_RPC_ENDPOINT: ${{ secrets.OPTIMISM_RPC_ENDPOINT }}
with:
network-name: optimism
check-bsc-action-ids:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Check Binance Action IDs
uses: ./.github/actions/check-network-action-ids
env:
BINANCE_RPC_ENDPOINT: ${{ secrets.BINANCE_RPC_ENDPOINT }}
with:
network-name: bsc
check-gnosis-action-ids:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Check Gnosis Action IDs
uses: ./.github/actions/check-network-action-ids
env:
GNOSIS_RPC_ENDPOINT: ${{ secrets.GNOSIS_RPC_ENDPOINT }}
with:
network-name: gnosis
check-avalanche-action-ids:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Check Avalanche Action IDs
uses: ./.github/actions/check-network-action-ids
env:
AVALANCHE_RPC_ENDPOINT: ${{ secrets.AVALANCHE_RPC_ENDPOINT }}
with:
network-name: avalanche
check-zkevm-action-ids:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Check Polygon-ZkEvm Action IDs
uses: ./.github/actions/check-network-action-ids
env:
ZKEVM_RPC_ENDPOINT: ${{ secrets.ZKEVM_RPC_ENDPOINT }}
with:
network-name: zkevm
check-base-action-ids:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Check Base Action IDs
uses: ./.github/actions/check-network-action-ids
env:
BASE_RPC_ENDPOINT: ${{ secrets.BASE_RPC_ENDPOINT }}
with:
network-name: base
check-fraxtal-action-ids:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Check Fraxtal Action IDs
uses: ./.github/actions/check-network-action-ids
env:
FRAXTAL_RPC_ENDPOINT: ${{ secrets.FRAXTAL_RPC_ENDPOINT }}
with:
network-name: fraxtal
check-mode-action-ids:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Check Mode Action IDs
uses: ./.github/actions/check-network-action-ids
env:
MODE_RPC_ENDPOINT: ${{ secrets.MODE_RPC_ENDPOINT }}
with:
network-name: mode
check-sonic-action-ids:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Check Sonic Action IDs
uses: ./.github/actions/check-network-action-ids
env:
MODE_RPC_ENDPOINT: ${{ secrets.SONIC_RPC_ENDPOINT }}
with:
network-name: sonic
check-sepolia-action-ids:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Check Sepolia Action IDs
uses: ./.github/actions/check-network-action-ids
env:
SEPOLIA_RPC_ENDPOINT: ${{ secrets.SEPOLIA_RPC_ENDPOINT }}
with:
network-name: sepolia
check-address-lookup:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Set up environment
uses: ./.github/actions/setup
- name: Prepare Config
run: yarn ci:prepare-config
- name: Check Deployment Address Lookup File
run: yarn check-address-lookup
check-timelock-authorizer-config:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Set up environment
uses: ./.github/actions/setup
- name: Prepare Config
run: yarn ci:prepare-config
- name: Check Timelock Authorizer Configuration Files
run: yarn check-timelock-authorizer-config
markdown-link-check:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: gaurav-nelson/github-action-markdown-link-check@v1
with:
use-quiet-mode: 'yes'
config-file: 'mlc_config.json'
env:
CI: true