Skip to content

Commit 7e87e5e

Browse files
committed
ci: update CI configuration and dependencies for Go projects
- Update golangci-lint-action to version 6 - Update Go versions to test from [1.22, 1.23] - Update codecov-action to version 5 Signed-off-by: appleboy <[email protected]>
1 parent 4a682bd commit 7e87e5e

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

.github/workflows/go.yml

+3-3
Original file line numberDiff line numberDiff line change
@@ -22,15 +22,15 @@ jobs:
2222
go-version-file: "go.mod"
2323
check-latest: true
2424
- name: Setup golangci-lint
25-
uses: golangci/golangci-lint-action@v4
25+
uses: golangci/golangci-lint-action@v6
2626
with:
2727
version: latest
2828
args: --verbose
2929
test:
3030
strategy:
3131
matrix:
3232
os: [ubuntu-latest]
33-
go: [1.18, 1.19, "1.20", 1.21, 1.22]
33+
go: [1.22, 1.23]
3434
include:
3535
- os: ubuntu-latest
3636
go-build: ~/.cache/go-build
@@ -63,6 +63,6 @@ jobs:
6363
go test -v -covermode=atomic -coverprofile=coverage.out ./...
6464
6565
- name: Upload coverage to Codecov
66-
uses: codecov/codecov-action@v4
66+
uses: codecov/codecov-action@v5
6767
with:
6868
flags: ${{ matrix.os }},go-${{ matrix.go }}

0 commit comments

Comments
 (0)