Skip to content

Commit

Permalink
ci(github): update CI configuration and dependencies
Browse files Browse the repository at this point in the history
- Update golangci-lint action from v5 to v6
- Update Go versions to test from [1.18, 1.19, "1.20", 1.21, 1.22] to [1.21, 1.22, 1.23]
- Remove macOS from the build matrix

Signed-off-by: appleboy <[email protected]>
  • Loading branch information
appleboy committed Nov 14, 2024
1 parent 23d71c3 commit b0f8f21
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions .github/workflows/go.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,19 +23,17 @@ jobs:
go-version-file: go.mod
check-latest: true
- name: Setup golangci-lint
uses: golangci/golangci-lint-action@v5
uses: golangci/golangci-lint-action@v6
with:
args: --verbose
test:
strategy:
matrix:
os: [ubuntu-latest]
go: [1.18, 1.19, "1.20", 1.21, 1.22]
go: [1.21, 1.22, 1.23]
include:
- os: ubuntu-latest
go-build: ~/.cache/go-build
- os: macos-latest
go-build: ~/Library/Caches/go-build
name: ${{ matrix.os }} @ Go ${{ matrix.go }}
runs-on: ${{ matrix.os }}
env:
Expand Down

0 comments on commit b0f8f21

Please sign in to comment.