Skip to content

Commit a0f8fda

Browse files
authored
GitHub Actions: Use YAML anchors (#38)
1 parent 1b5f9b0 commit a0f8fda

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
@@ -49,7 +49,7 @@ jobs:
4949
name: build (${{ matrix.runs-on }})
5050
needs: phar
5151
strategy:
52-
matrix:
52+
matrix: &matrix
5353
include:
5454
- runs-on: ubuntu-24.04-arm
5555
variant: linux_arm64
@@ -119,16 +119,7 @@ jobs:
119119
name: e2e (${{ matrix.runs-on }})
120120
needs: build
121121
strategy:
122-
matrix:
123-
include:
124-
- runs-on: ubuntu-24.04-arm
125-
variant: linux_arm64
126-
- runs-on: ubuntu-24.04
127-
variant: linux_amd64
128-
- runs-on: macos-15
129-
variant: darwin_arm64
130-
- runs-on: macos-15-intel
131-
variant: darwin_amd64
122+
matrix: *matrix
132123
runs-on: ${{ matrix.runs-on }}
133124
env:
134125
GOFLAGS: '-mod=mod'

0 commit comments

Comments
 (0)