Skip to content

Commit 3cbc5ca

Browse files
committed
ci: update CI configuration for Go versions and GitHub actions
- Update `golangci-lint-action` to version 6 - Add `macos-latest` 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 c98339c commit 3cbc5ca

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
@@ -19,14 +19,14 @@ jobs:
1919
- name: Checkout repository
2020
uses: actions/checkout@v4
2121
- name: Setup golangci-lint
22-
uses: golangci/golangci-lint-action@v5
22+
uses: golangci/golangci-lint-action@v6
2323
with:
2424
args: --verbose
2525
test:
2626
strategy:
2727
matrix:
28-
os: [ubuntu-latest]
29-
go: [1.18, 1.19, "1.20", 1.21, 1.22]
28+
os: [ubuntu-latest, macos-latest]
29+
go: [1.21, 1.22, 1.23]
3030
include:
3131
- os: ubuntu-latest
3232
go-build: ~/.cache/go-build
@@ -61,6 +61,6 @@ jobs:
6161
go test -v -covermode=atomic -coverprofile=coverage.out
6262
6363
- name: Upload coverage to Codecov
64-
uses: codecov/codecov-action@v4
64+
uses: codecov/codecov-action@v5
6565
with:
6666
flags: ${{ matrix.os }},go-${{ matrix.go }}

0 commit comments

Comments
 (0)