Skip to content

Commit 909c504

Browse files
authored
Update workflow to support the last three Go versions (#1393)
## Fixes Or Enhances This package follows the Go release policy, supporting the two most recent major versions. This PR updates the GitHub workflow to use the last three Go versions instead of four. **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 09c1323 commit 909c504

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

.github/workflows/workflow.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ jobs:
88
test:
99
strategy:
1010
matrix:
11-
go-version: [1.20.x,1.21.x,1.22.x,1.23.x]
11+
go-version: [1.22.x,1.23.x, 1.24.x]
1212
os: [ubuntu-latest, macos-latest, windows-latest]
1313
runs-on: ${{ matrix.os }}
1414
steps:
@@ -24,7 +24,7 @@ jobs:
2424
run: go test -race -covermode=atomic -coverprofile="profile.cov" ./...
2525

2626
- name: Send Coverage
27-
if: matrix.os == 'ubuntu-latest' && matrix.go-version == '1.22.x'
27+
if: matrix.os == 'ubuntu-latest' && matrix.go-version == '1.23.x'
2828
uses: shogo82148/actions-goveralls@v1
2929
with:
3030
path-to-profile: profile.cov
@@ -36,7 +36,7 @@ jobs:
3636
- uses: actions/checkout@v4
3737
- uses: actions/setup-go@v5
3838
with:
39-
go-version: 1.23.x
39+
go-version: 1.24.x
4040
- name: golangci-lint
4141
uses: golangci/golangci-lint-action@v6
4242
with:

0 commit comments

Comments
 (0)