From 4000c23e63b738efea3c68082e642051b900c718 Mon Sep 17 00:00:00 2001 From: nnnkkk7 Date: Sat, 14 Feb 2026 15:42:10 +0900 Subject: [PATCH 1/3] deps: upgrade go version to go1.26 --- .github/workflows/ci-avx512.yml | 4 ++-- .github/workflows/ci.yml | 8 ++++---- Dockerfile | 2 +- go.mod | 5 +---- 4 files changed, 8 insertions(+), 11 deletions(-) diff --git a/.github/workflows/ci-avx512.yml b/.github/workflows/ci-avx512.yml index 126e64c..4d43515 100644 --- a/.github/workflows/ci-avx512.yml +++ b/.github/workflows/ci-avx512.yml @@ -35,10 +35,10 @@ jobs: - name: Checkout uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2 - - name: Setup Go 1.26 + - name: Setup Go uses: actions/setup-go@7a3fe6cf4cb3a834922a1244abfce67bcef6a0c5 # v6.2.0 with: - go-version: '1.26.0-rc.2' + go-version-file: 'go.mod' - name: Verify AVX-512 Support run: | diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index fb7e29e..e37aeeb 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -9,10 +9,10 @@ jobs: steps: - uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2 - - name: Setup Go 1.26 + - name: Setup Go uses: actions/setup-go@7a3fe6cf4cb3a834922a1244abfce67bcef6a0c5 # v6.2.0 with: - go-version: '1.26.0-rc.2' + go-version-file: 'go.mod' - name: Run tests env: @@ -24,10 +24,10 @@ jobs: steps: - uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2 - - name: Setup Go 1.26 + - name: Setup Go uses: actions/setup-go@7a3fe6cf4cb3a834922a1244abfce67bcef6a0c5 # v6.2.0 with: - go-version: '1.26.0-rc.2' + go-version-file: 'go.mod' - name: Run golangci-lint uses: golangci/golangci-lint-action@1e7e51e771db61008b38414a730f564565cf7c20 # v9.2.0 diff --git a/Dockerfile b/Dockerfile index 7a92f54..7438953 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,4 +1,4 @@ -FROM golang:1.26-rc-bookworm +FROM golang:1.26-bookworm WORKDIR /app # Install golangci-lint (latest version for Go 1.26 compatibility) diff --git a/go.mod b/go.mod index 6beecbb..3fb7dc7 100644 --- a/go.mod +++ b/go.mod @@ -1,6 +1,3 @@ module github.com/nnnkkk7/go-simdcsv -// Note: This project requires Go 1.26 with GOEXPERIMENT=simd for full functionality. -// For local development on Apple Silicon, use Docker: make docker-test -// Using go 1.25 for IDE compatibility (SIMD code won't compile locally) -go 1.25 +go 1.26 From 8369e470059cba2af1fb3d71806de8e37fc98eda Mon Sep 17 00:00:00 2001 From: nnnkkk7 Date: Sat, 14 Feb 2026 15:48:05 +0900 Subject: [PATCH 2/3] ci: update golangci-lint --- .github/workflows/ci.yml | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index e37aeeb..053e2bb 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -30,9 +30,7 @@ jobs: go-version-file: 'go.mod' - name: Run golangci-lint - uses: golangci/golangci-lint-action@1e7e51e771db61008b38414a730f564565cf7c20 # v9.2.0 - with: - version: v2.8.0 + run: go run github.com/golangci/golangci-lint/cmd/golangci-lint@v2.9.0 run env: GOEXPERIMENT: simd From e8888417ad90658c3d926e4e489dbce598bdb150 Mon Sep 17 00:00:00 2001 From: nnnkkk7 Date: Sat, 14 Feb 2026 15:55:38 +0900 Subject: [PATCH 3/3] ci: fix lint version --- .github/workflows/ci.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 053e2bb..b802ef9 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -30,7 +30,7 @@ jobs: go-version-file: 'go.mod' - name: Run golangci-lint - run: go run github.com/golangci/golangci-lint/cmd/golangci-lint@v2.9.0 run + run: go run github.com/golangci/golangci-lint/v2/cmd/golangci-lint@v2.9.0 run env: GOEXPERIMENT: simd