From 7e093daf29b2ea6a96aada97d632239d7d905363 Mon Sep 17 00:00:00 2001 From: Andrey Kolkov Date: Fri, 21 Aug 2026 13:42:05 +0300 Subject: [PATCH 1/3] =?UTF-8?q?chore:=20upgrade=20Go=20toolchain=201.25.4?= =?UTF-8?q?=20=E2=86=92=201.27.0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Go 1.27 compiler improvements: known-bits dataflow, LICM (10% on regexp/syntax loops), switch-to-lookup-table. All tests pass, assembly fully compatible, zero breaking changes. --- go.mod | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/go.mod b/go.mod index d91922e..89bc10b 100644 --- a/go.mod +++ b/go.mod @@ -1,6 +1,6 @@ module github.com/coregx/coregex -go 1.25.4 +go 1.27.0 require ( github.com/coregx/ahocorasick v0.3.1 From 1ab562da0962bc4a25b1564ac7fca70ff2b4162f Mon Sep 17 00:00:00 2001 From: Andrey Kolkov Date: Fri, 21 Aug 2026 13:53:00 +0300 Subject: [PATCH 2/3] =?UTF-8?q?chore:=20upgrade=20Go=20toolchain=201.25.4?= =?UTF-8?q?=20=E2=86=92=201.27.1?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Go 1.27.1 (Sep 1, 2026) includes fixes for simd/archsimd packages. Compiler improvements: known-bits dataflow, LICM, switch-to-lookup-table. All tests pass, assembly fully compatible, zero breaking changes. --- .github/workflows/benchmarks.yml | 2 +- .github/workflows/test.yml | 16 ++++++++-------- go.mod | 2 +- 3 files changed, 10 insertions(+), 10 deletions(-) diff --git a/.github/workflows/benchmarks.yml b/.github/workflows/benchmarks.yml index c7804e7..d01506f 100644 --- a/.github/workflows/benchmarks.yml +++ b/.github/workflows/benchmarks.yml @@ -48,7 +48,7 @@ jobs: - name: Set up Go uses: actions/setup-go@v5 with: - go-version: '1.25' + go-version: '1.27' cache: false # Different directories, cache won't help - name: Install benchstat diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index bdccf21..685862b 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -3,7 +3,7 @@ name: Tests # Testing Strategy: # - Tests run on Linux, macOS, and Windows (cross-platform library) # - Regex engine with SIMD assembly - must work everywhere -# - Go 1.25+ required (matches go.mod requirement) +# - Go 1.27+ required (matches go.mod requirement) # - Zero external dependencies (except golang.org/x/sys for CPU detection) # # Branch Strategy (Git Flow): @@ -32,7 +32,7 @@ jobs: strategy: matrix: os: [ubuntu-latest, macos-latest, windows-latest] - go-version: ['1.25'] # Match go.mod requirement + go-version: ['1.27'] # Match go.mod requirement steps: - name: Checkout code @@ -59,7 +59,7 @@ jobs: run: go test -short -v -race -coverprofile=coverage.txt -covermode=atomic ./... - name: Upload coverage to Codecov - if: matrix.os == 'ubuntu-latest' && matrix.go-version == '1.25' + if: matrix.os == 'ubuntu-latest' && matrix.go-version == '1.27' uses: codecov/codecov-action@v5 with: token: ${{ secrets.CODECOV_TOKEN }} @@ -81,7 +81,7 @@ jobs: - name: Set up Go uses: actions/setup-go@v5 with: - go-version: '1.25' + go-version: '1.27' cache: true - name: Build for 386 @@ -102,13 +102,13 @@ jobs: - name: Set up Go uses: actions/setup-go@v5 with: - go-version: '1.25' + go-version: '1.27' cache: true - name: Run golangci-lint uses: golangci/golangci-lint-action@v9 with: - version: v2.10 + version: v2.13 args: --timeout=5m # Formatting check @@ -123,7 +123,7 @@ jobs: - name: Set up Go uses: actions/setup-go@v5 with: - go-version: '1.25' + go-version: '1.27' cache: true - name: Check formatting @@ -153,7 +153,7 @@ jobs: - name: Set up Go uses: actions/setup-go@v5 with: - go-version: '1.25' + go-version: '1.27' cache: true - name: Run benchmark smoke test diff --git a/go.mod b/go.mod index 89bc10b..92c701c 100644 --- a/go.mod +++ b/go.mod @@ -1,6 +1,6 @@ module github.com/coregx/coregex -go 1.27.0 +go 1.27.1 require ( github.com/coregx/ahocorasick v0.3.1 From b850bdd71a0ae7531d6ce6eaf1af1d5bae2dbcb2 Mon Sep 17 00:00:00 2001 From: Andrey Kolkov Date: Sun, 6 Sep 2026 13:32:17 +0300 Subject: [PATCH 3/3] ci: remove Go version from job names (stable branch protection) --- .github/workflows/test.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 685862b..aaea6f4 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -27,7 +27,7 @@ on: jobs: # Unit tests - Cross-platform unit-tests: - name: Unit Tests - ${{ matrix.os }} - Go ${{ matrix.go-version }} + name: Unit Tests - ${{ matrix.os }} runs-on: ${{ matrix.os }} strategy: matrix: @@ -59,7 +59,7 @@ jobs: run: go test -short -v -race -coverprofile=coverage.txt -covermode=atomic ./... - name: Upload coverage to Codecov - if: matrix.os == 'ubuntu-latest' && matrix.go-version == '1.27' + if: matrix.os == 'ubuntu-latest' uses: codecov/codecov-action@v5 with: token: ${{ secrets.CODECOV_TOKEN }}