From 97637fd8ca64897655a39e918c325cb5ec16f5f5 Mon Sep 17 00:00:00 2001 From: Jingyuan Liang Date: Wed, 7 Feb 2024 22:36:08 +0000 Subject: [PATCH] Remove GO_VERSION test matrix We'll have to keep go version in go.mod at the latest, to ensure golang compatibility support throughout the release lifetime. However this breaks buildability with older golang images, since Go 1.21. --- .github/workflows/crossbuild.yaml | 3 +-- .github/workflows/tests.yaml | 3 +-- 2 files changed, 2 insertions(+), 4 deletions(-) diff --git a/.github/workflows/crossbuild.yaml b/.github/workflows/crossbuild.yaml index 992443a3..2f106026 100644 --- a/.github/workflows/crossbuild.yaml +++ b/.github/workflows/crossbuild.yaml @@ -6,11 +6,10 @@ jobs: crossbuild: strategy: matrix: - go-version: [ "1.20", "1.21", "1.22" ] platform: [ "ubuntu-latest" ] runs-on: ${{ matrix.platform }} steps: - name: Checkout code uses: actions/checkout@v3 - name: Build containers - run: make all-container GO_VERSION=${{ matrix.go-version }} + run: make all-container diff --git a/.github/workflows/tests.yaml b/.github/workflows/tests.yaml index 7f1644da..843d3705 100644 --- a/.github/workflows/tests.yaml +++ b/.github/workflows/tests.yaml @@ -6,11 +6,10 @@ jobs: test: strategy: matrix: - go-version: [ "1.21", "1.22" ] platform: [ "ubuntu-latest" ] runs-on: ${{ matrix.platform }} steps: - name: Checkout code uses: actions/checkout@v3 - name: Test - run: make test GOFLAGS="-v" GO_VERSION=${{ matrix.go-version }} + run: make test GOFLAGS="-v"