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..aaea6f4 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): @@ -27,12 +27,12 @@ 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: 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' 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 d91922e..92c701c 100644 --- a/go.mod +++ b/go.mod @@ -1,6 +1,6 @@ module github.com/coregx/coregex -go 1.25.4 +go 1.27.1 require ( github.com/coregx/ahocorasick v0.3.1