Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/benchmarks.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
18 changes: 9 additions & 9 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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):
Expand All @@ -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
Expand All @@ -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 }}
Expand All @@ -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
Expand All @@ -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
Expand All @@ -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
Expand Down Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion go.mod
Original file line number Diff line number Diff line change
@@ -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
Expand Down
Loading