Skip to content

Commit

Permalink
ci: enhance CI workflow and update linter version
Browse files Browse the repository at this point in the history
- Update the golangci-lint-action version from v5 to v6 in the GitHub Actions workflow
- Expand the test matrix to include macOS-latest alongside ubuntu-latest in the GitHub Actions workflow

Signed-off-by: Bo-Yi Wu <appleboy.tw@gmail.com>
  • Loading branch information
appleboy committed May 21, 2024
1 parent 2613793 commit 7a5cf89
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/go.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,13 +19,13 @@ jobs:
- name: Checkout repository
uses: actions/checkout@v4
- 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]
os: [ubuntu-latest, macos-latest]
go: [1.18, 1.19, "1.20", 1.21, 1.22]
include:
- os: ubuntu-latest
Expand Down

0 comments on commit 7a5cf89

Please sign in to comment.