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..b802ef9 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,15 +24,13 @@ 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 - with: - version: v2.8.0 + run: go run github.com/golangci/golangci-lint/v2/cmd/golangci-lint@v2.9.0 run env: GOEXPERIMENT: simd 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