Skip to content

Commit

Permalink
ci: update CI configuration and dependencies for Go projects
Browse files Browse the repository at this point in the history
- 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]>
  • Loading branch information
appleboy committed Jan 19, 2025
1 parent 4a682bd commit 7e87e5e
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/go.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,15 +22,15 @@ jobs:
go-version-file: "go.mod"
check-latest: true
- name: Setup golangci-lint
uses: golangci/golangci-lint-action@v4
uses: golangci/golangci-lint-action@v6
with:
version: latest
args: --verbose
test:
strategy:
matrix:
os: [ubuntu-latest]
go: [1.18, 1.19, "1.20", 1.21, 1.22]
go: [1.22, 1.23]
include:
- os: ubuntu-latest
go-build: ~/.cache/go-build
Expand Down Expand Up @@ -63,6 +63,6 @@ jobs:
go test -v -covermode=atomic -coverprofile=coverage.out ./...
- name: Upload coverage to Codecov
uses: codecov/codecov-action@v4
uses: codecov/codecov-action@v5
with:
flags: ${{ matrix.os }},go-${{ matrix.go }}

0 comments on commit 7e87e5e

Please sign in to comment.