Skip to content

Commit 6e6485b

Browse files
Add go1.25 tests (#869)
* Add go1.25 tests * remove 1.23 test --------- Co-authored-by: John Roesler <[email protected]>
1 parent b383ca9 commit 6e6485b

File tree

2 files changed

+31
-31
lines changed

2 files changed

+31
-31
lines changed

.github/workflows/go_test.yml

Lines changed: 30 additions & 30 deletions
Original file line numberDiff line numberDiff line change
@@ -1,31 +1,31 @@
1-
on:
2-
push:
3-
branches:
4-
- v2
5-
pull_request:
6-
branches:
7-
- v2
1+
on:
2+
push:
3+
branches:
4+
- v2
5+
pull_request:
6+
branches:
7+
- v2
88

9-
name: lint and test
10-
jobs:
11-
golangci:
12-
strategy:
13-
matrix:
14-
go-version:
15-
- "1.23"
16-
- "1.24"
17-
name: lint and test
18-
runs-on: ubuntu-latest
19-
steps:
20-
- name: Checkout code
21-
uses: actions/checkout@v5
22-
- name: Install Go
23-
uses: actions/setup-go@v5
24-
with:
25-
go-version: ${{ matrix.go-version }}
26-
- name: golangci-lint
27-
uses: golangci/[email protected]
28-
with:
29-
version: v2.1.5
30-
- name: test
31-
run: make test_ci
9+
name: lint and test
10+
jobs:
11+
golangci:
12+
strategy:
13+
matrix:
14+
go-version:
15+
- "1.24"
16+
- "1.25"
17+
name: lint and test
18+
runs-on: ubuntu-latest
19+
steps:
20+
- name: Checkout code
21+
uses: actions/checkout@v5
22+
- name: Install Go
23+
uses: actions/setup-go@v5
24+
with:
25+
go-version: ${{ matrix.go-version }}
26+
- name: golangci-lint
27+
uses: golangci/[email protected]
28+
with:
29+
version: v2.4.0
30+
- name: test
31+
run: make test_ci

.pre-commit-config.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ repos:
1212
- id: end-of-file-fixer
1313
- id: trailing-whitespace
1414
- repo: https://github.com/golangci/golangci-lint
15-
rev: v2.1.5
15+
rev: v2.4.0
1616
hooks:
1717
- id: golangci-lint
1818
- repo: https://github.com/TekWizely/pre-commit-golang

0 commit comments

Comments
 (0)