From 68b74c9cc6f0440e2aa87e2743e5eaea5197bdde Mon Sep 17 00:00:00 2001 From: hc-github-team-consul-core Date: Mon, 11 Dec 2023 10:32:08 -0600 Subject: [PATCH] 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 --- .github/workflows/build.yml | 30 ++++++++++++++++++++---------- 1 file changed, 20 insertions(+), 10 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 9cad02a4f..036ac59b4 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -86,15 +86,24 @@ jobs: strategy: matrix: include: - - {go: "1.20.12", goos: "linux", goarch: "386"} - - {go: "1.20.12", goos: "linux", goarch: "amd64"} - - {go: "1.20.12", goos: "linux", goarch: "arm"} - - {go: "1.20.12", goos: "linux", goarch: "arm64"} - - {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"} + - {go: "1.20.12", + goos: "linux", goarch: "386"} + - {go: "1.20.12", + goos: "linux", goarch: "amd64"} + - {go: "1.20.12", + goos: "linux", goarch: "arm"} + - {go: "1.20.12", + goos: "linux", goarch: "arm64"} + - {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 name: Go ${{ matrix.go }} ${{ matrix.goos }} ${{ matrix.goarch }} build @@ -183,7 +192,8 @@ jobs: strategy: matrix: include: - - {go: "1.20.12", goos: "linux", goarch: "s390x"} + - {go: "1.20.12", + goos: "linux", goarch: "s390x"} fail-fast: true name: Go ${{ matrix.go }} ${{ matrix.goos }} ${{ matrix.goarch }} build