This is an automated email from the ASF dual-hosted git repository.

zeroshade pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/arrow-go.git


The following commit(s) were added to refs/heads/main by this push:
     new f9a71c00 chore: fix failing build tags (#1285)
f9a71c00 is described below

commit f9a71c002473e21051be077d4a5666da4fb4f5f0
Author: Matt Topol <[email protected]>
AuthorDate: Fri Sep 4 11:52:15 2026 -0400

    chore: fix failing build tags (#1285)
    
    ### Rationale for this change
    Fixing the build on go1.27
    
    ### What changes are included in this PR?
    Updates the build tag on arrow/compute/registry.go which would already
    fail on anything <= go1.22 so that the tag is correct.
    
    ### Are these changes tested?
    Adds go1.27 runs to the CI for testing these types of issues in the
    future
    
    ### Are there any user-facing changes?
    Only fixes go1.27 builds that were previous failing, anything that
    builds successfully would still build successfully.
---
 .github/workflows/test.yml | 17 +++++++----------
 arrow/compute/registry.go  |  2 +-
 2 files changed, 8 insertions(+), 11 deletions(-)

diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml
index 76b7b1df..706eb0a4 100644
--- a/.github/workflows/test.yml
+++ b/.github/workflows/test.yml
@@ -37,22 +37,14 @@ jobs:
     strategy:
       fail-fast: false
       matrix:
+        go: [1.25, 1.26, 1.27]
+        arch: [amd64, arm64v8]
         include:
           - arch-label: AMD64
             arch: amd64
-            go: 1.25
             runs-on: ubuntu-latest
           - arch-label: ARM64
             arch: arm64v8
-            go: 1.25
-            runs-on: ubuntu-24.04-arm
-          - arch-label: AMD64
-            arch: amd64
-            go: 1.26
-            runs-on: ubuntu-latest
-          - arch-label: ARM64
-            arch: arm64v8
-            go: 1.26
             runs-on: ubuntu-24.04-arm
     env:
       ARCH: ${{ matrix.arch }}
@@ -90,6 +82,7 @@ jobs:
         go:
           - '1.25'
           - '1.26'
+          - '1.27'
     env:
       GO: ${{ matrix.go }}
     steps:
@@ -130,6 +123,7 @@ jobs:
         go:
           - '1.25'
           - '1.26'
+          - '1.27'
     env:
       GO: ${{ matrix.go }}
     steps:
@@ -170,6 +164,7 @@ jobs:
         go:
           - '1.25'
           - '1.26'
+          - '1.27'
     steps:
       - name: Checkout
         uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # 
v5.0.1
@@ -197,6 +192,7 @@ jobs:
         go:
           - '1.25'
           - '1.26'
+          - '1.27'
     env:
       ARROW_GO_TESTCGO: "1"
     steps:
@@ -231,6 +227,7 @@ jobs:
         go:
           - '1.25'
           - '1.26'
+          - '1.27'
     steps:
       - name: Checkout
         uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # 
v5.0.1
diff --git a/arrow/compute/registry.go b/arrow/compute/registry.go
index cccf58ef..0cc11025 100644
--- a/arrow/compute/registry.go
+++ b/arrow/compute/registry.go
@@ -14,7 +14,7 @@
 // See the License for the specific language governing permissions and
 // limitations under the License.
 
-//go:build go1.22
+//go:build go1.23
 
 package compute
 

Reply via email to