Skip to content

Commit a787882

Browse files
committed
fix: remove yaml anchor for matrix
Signed-off-by: Reinis Martinsons <[email protected]>
1 parent a19d3ae commit a787882

File tree

1 file changed

+21
-10
lines changed

1 file changed

+21
-10
lines changed

.github/workflows/pr.yml

+21-10
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,5 @@
11
name: Checks
22
on: [push, pull_request]
3-
x-node-matrix: &node-matrix
4-
node:
5-
- 20
63
jobs:
74
# Multiple jobs depend on having EVM and SVM artifacts available, so we upload them first in separate jobs.
85
upload-svm-artifacts:
@@ -15,7 +12,9 @@ jobs:
1512
src/svm/assets
1613
src/svm/clients
1714
strategy:
18-
matrix: *node-matrix
15+
matrix:
16+
node:
17+
- 20
1918
steps:
2019
- name: Checkout repo
2120
uses: actions/checkout@v3
@@ -46,7 +45,9 @@ jobs:
4645
cache
4746
typechain
4847
strategy:
49-
matrix: *node-matrix
48+
matrix:
49+
node:
50+
- 20
5051
steps:
5152
- name: Checkout repo
5253
uses: actions/checkout@v3
@@ -71,7 +72,9 @@ jobs:
7172
name: Lint
7273
runs-on: ubuntu-latest
7374
strategy:
74-
matrix: *node-matrix
75+
matrix:
76+
node:
77+
- 20
7578
steps:
7679
- name: Checkout repo
7780
uses: actions/checkout@v3
@@ -107,7 +110,9 @@ jobs:
107110
- upload-evm-artifacts
108111
runs-on: ubuntu-latest
109112
strategy:
110-
matrix: *node-matrix
113+
matrix:
114+
node:
115+
- 20
111116
steps:
112117
- name: Checkout repo
113118
uses: actions/checkout@v3
@@ -134,7 +139,9 @@ jobs:
134139
needs: upload-svm-artifacts
135140
runs-on: ubuntu-latest
136141
strategy:
137-
matrix: *node-matrix
142+
matrix:
143+
node:
144+
- 20
138145
steps:
139146
- name: Checkout repo
140147
uses: actions/checkout@v3
@@ -177,7 +184,9 @@ jobs:
177184
- upload-evm-artifacts
178185
runs-on: ubuntu-latest
179186
strategy:
180-
matrix: *node-matrix
187+
matrix:
188+
node:
189+
- 20
181190
steps:
182191
- name: Checkout repo
183192
uses: actions/checkout@v3
@@ -202,7 +211,9 @@ jobs:
202211
name: Forge
203212
runs-on: ubuntu-latest
204213
strategy:
205-
matrix: *node-matrix
214+
matrix:
215+
node:
216+
- 20
206217
steps:
207218
- name: Checkout repo
208219
uses: actions/checkout@v3

0 commit comments

Comments
 (0)