Skip to content

Commit 121b760

Browse files
committed
chore: update supported Go versions to 1.25 and 1.26
1 parent f4590b5 commit 121b760

File tree

4 files changed

+11
-8
lines changed

4 files changed

+11
-8
lines changed

.github/workflows/lint.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ jobs:
1717
- uses: actions/checkout@v4
1818
- uses: actions/setup-go@v5
1919
with:
20-
go-version: '1.24.x'
20+
go-version: '1.26.x'
2121
# Cache disabled because golangci-lint-action has its own caching
2222
cache: false
2323
- name: golangci-lint

.github/workflows/test.yml

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@ jobs:
1111
strategy:
1212
matrix:
1313
os: [ubuntu-latest, macos-latest, windows-latest]
14+
go-version: ['1.25.x', '1.26.x']
1415
runs-on: ${{ matrix.os }}
1516

1617
steps:
@@ -20,7 +21,7 @@ jobs:
2021
- name: Install Go
2122
uses: actions/setup-go@v5
2223
with:
23-
go-version: 1.24.x
24+
go-version: ${{ matrix.go-version }}
2425

2526
- name: Install dependencies
2627
run: make deps
@@ -44,7 +45,7 @@ jobs:
4445
- name: Install Go
4546
uses: actions/setup-go@v5
4647
with:
47-
go-version: 1.24.x
48+
go-version: 1.26.x
4849

4950
- name: Install dependencies
5051
run: make deps
@@ -62,7 +63,7 @@ jobs:
6263
- name: Install Go
6364
uses: actions/setup-go@v5
6465
with:
65-
go-version: 1.24.x
66+
go-version: 1.26.x
6667

6768
- name: Check formatting
6869
run: |
@@ -83,7 +84,7 @@ jobs:
8384
- name: Install Go
8485
uses: actions/setup-go@v5
8586
with:
86-
go-version: 1.24.x
87+
go-version: 1.26.x
8788

8889
- name: Install tools
8990
run: make tools
@@ -112,7 +113,7 @@ jobs:
112113
- name: Install Go
113114
uses: actions/setup-go@v5
114115
with:
115-
go-version: 1.24.x
116+
go-version: 1.26.x
116117

117118
- name: Check go.mod
118119
run: make check-mod
@@ -129,7 +130,7 @@ jobs:
129130
- name: Install Go
130131
uses: actions/setup-go@v5
131132
with:
132-
go-version: 1.24.x
133+
go-version: 1.26.x
133134

134135
- name: Install dependencies
135136
run: make deps

CHANGELOG.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,8 @@
3939

4040
### Changed
4141

42+
- **Go Version Support**: Updated minimum Go version to 1.25. CI now tests against Go 1.25 and 1.26.
43+
4244
- **CI Generated File Verification** (#138, #50): Added CI job to verify yacc-generated parser files are up to date.
4345

4446
- **CI Consolidation** (#134): Consolidated CI workflows into a single test.yml with coverage, format, lint, vet, and mod verification jobs.

go.mod

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
module github.com/osteele/liquid
22

3-
go 1.24.0
3+
go 1.25.0
44

55
require (
66
github.com/osteele/tuesday v1.0.3

0 commit comments

Comments
 (0)