Skip to content

Commit a85ffb4

Browse files
committed
ci: update CI configuration for Go versions and GitHub actions
- Update golangci-lint action to version 6 - Add macOS to the OS matrix - Remove Go versions 1.18, 1.19, and 1.20 from the matrix - Add Go version 1.23 to the matrix - Update Codecov action to version 5 Signed-off-by: appleboy <[email protected]>
1 parent 32fbc3f commit a85ffb4

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

.github/workflows/go.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -23,14 +23,14 @@ jobs:
2323
go-version-file: go.mod
2424
check-latest: true
2525
- name: Setup golangci-lint
26-
uses: golangci/golangci-lint-action@v5
26+
uses: golangci/golangci-lint-action@v6
2727
with:
2828
args: --verbose
2929
test:
3030
strategy:
3131
matrix:
32-
os: [ubuntu-latest]
33-
go: [1.18, 1.19, "1.20", 1.21, 1.22]
32+
os: [ubuntu-latest, macos-latest]
33+
go: [1.21, 1.22, 1.23]
3434
include:
3535
- os: ubuntu-latest
3636
go-build: ~/.cache/go-build
@@ -65,6 +65,6 @@ jobs:
6565
go test -v -covermode=atomic -coverprofile=coverage.out
6666
6767
- name: Upload coverage to Codecov
68-
uses: codecov/codecov-action@v4
68+
uses: codecov/codecov-action@v5
6969
with:
7070
flags: ${{ matrix.os }},go-${{ matrix.go }}

0 commit comments

Comments
 (0)