Skip to content

Commit 0e8f35c

Browse files
authored
GitHub Actions: Use YAML anchors (#98)
1 parent 07f6860 commit 0e8f35c

File tree

1 file changed

+2
-11
lines changed

1 file changed

+2
-11
lines changed

.github/workflows/test.yml

Lines changed: 2 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -87,7 +87,7 @@ jobs:
8787
name: build (${{ matrix.runs-on }})
8888
needs: phar
8989
strategy:
90-
matrix:
90+
matrix: &matrix
9191
include:
9292
- runs-on: ubuntu-24.04-arm
9393
variant: linux_arm64
@@ -157,16 +157,7 @@ jobs:
157157
name: e2e (${{ matrix.runs-on }})
158158
needs: build
159159
strategy:
160-
matrix:
161-
include:
162-
- runs-on: ubuntu-24.04-arm
163-
variant: linux_arm64
164-
- runs-on: ubuntu-24.04
165-
variant: linux_amd64
166-
- runs-on: macos-15
167-
variant: darwin_arm64
168-
- runs-on: macos-15-intel
169-
variant: darwin_amd64
160+
matrix: *matrix
170161
runs-on: ${{ matrix.runs-on }}
171162
env:
172163
GOFLAGS: '-mod=mod'

0 commit comments

Comments
 (0)