Skip to content

Commit d3f35da

Browse files
authored
Go 1.26 support (#1535)
## Fixes Or Enhances This PR introduces support for Go 1.26. Updated go.mod to Go 1.25 (MSGV ensures compatibility with the two latest major versions). Release notes: https://tip.golang.org/doc/go1.26 **Make sure that you've checked the boxes below before you submit PR:** - [ ] Tests exist or have been written that cover this particular change. @go-playground/validator-maintainers
1 parent f5c74ce commit d3f35da

File tree

3 files changed

+3
-27
lines changed

3 files changed

+3
-27
lines changed

.github/workflows/go.yml

Lines changed: 0 additions & 24 deletions
This file was deleted.

.github/workflows/workflow.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ jobs:
88
test:
99
strategy:
1010
matrix:
11-
go-version: [1.24.x, 1.25.x]
11+
go-version: [1.25.x, 1.26.x]
1212
os: [ubuntu-latest, macos-latest, windows-latest]
1313
runs-on: ${{ matrix.os }}
1414
steps:
@@ -36,7 +36,7 @@ jobs:
3636
- uses: actions/checkout@v6
3737
- uses: actions/setup-go@v6
3838
with:
39-
go-version: 1.24.x
39+
go-version: 1.25.x
4040
- name: golangci-lint
4141
uses: golangci/golangci-lint-action@v9
4242
with:

go.mod

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

3-
go 1.24.0
3+
go 1.25.0
44

55
require (
66
github.com/gabriel-vasile/mimetype v1.4.13

0 commit comments

Comments
 (0)