Backport of [NET-6842] splitting go version on different lines into release/1.16.x (#19890)

backport of commit 2e594e15a989124657ad2ca902dc5f631bf9fb0c

Co-authored-by: Ronald Ekambi <ronekambi@gmail.com>
This commit is contained in:
hc-github-team-consul-core 2023-12-11 10:32:08 -06:00 committed by GitHub
parent 609762077f
commit 68b74c9cc6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 20 additions and 10 deletions

View File

@ -86,15 +86,24 @@ jobs:
strategy: strategy:
matrix: matrix:
include: include:
- {go: "1.20.12", goos: "linux", goarch: "386"} - {go: "1.20.12",
- {go: "1.20.12", goos: "linux", goarch: "amd64"} goos: "linux", goarch: "386"}
- {go: "1.20.12", goos: "linux", goarch: "arm"} - {go: "1.20.12",
- {go: "1.20.12", goos: "linux", goarch: "arm64"} goos: "linux", goarch: "amd64"}
- {go: "1.20.12", goos: "freebsd", goarch: "386"} - {go: "1.20.12",
- {go: "1.20.12", goos: "freebsd", goarch: "amd64"} goos: "linux", goarch: "arm"}
- {go: "1.20.12", goos: "windows", goarch: "386"} - {go: "1.20.12",
- {go: "1.20.12", goos: "windows", goarch: "amd64"} goos: "linux", goarch: "arm64"}
- {go: "1.20.12", goos: "solaris", goarch: "amd64"} - {go: "1.20.12",
goos: "freebsd", goarch: "386"}
- {go: "1.20.12",
goos: "freebsd", goarch: "amd64"}
- {go: "1.20.12",
goos: "windows", goarch: "386"}
- {go: "1.20.12",
goos: "windows", goarch: "amd64"}
- {go: "1.20.12",
goos: "solaris", goarch: "amd64"}
fail-fast: true fail-fast: true
name: Go ${{ matrix.go }} ${{ matrix.goos }} ${{ matrix.goarch }} build name: Go ${{ matrix.go }} ${{ matrix.goos }} ${{ matrix.goarch }} build
@ -183,7 +192,8 @@ jobs:
strategy: strategy:
matrix: matrix:
include: include:
- {go: "1.20.12", goos: "linux", goarch: "s390x"} - {go: "1.20.12",
goos: "linux", goarch: "s390x"}
fail-fast: true fail-fast: true
name: Go ${{ matrix.go }} ${{ matrix.goos }} ${{ matrix.goarch }} build name: Go ${{ matrix.go }} ${{ matrix.goos }} ${{ matrix.goarch }} build