Skip to content

Commit

Permalink
ci: refine GitHub Actions workflow configuration
Browse files Browse the repository at this point in the history
- Update the golangci-lint-action version from `v5` to `v6` in the GitHub workflow
- Remove macOS-latest runner and its go-build cache path from the GitHub workflow

Signed-off-by: Bo-Yi Wu <appleboy.tw@gmail.com>
  • Loading branch information
appleboy committed May 21, 2024
1 parent 0cf86cd commit 98f586a
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions .github/workflows/go.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ 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:
version: latest
args: --verbose
Expand All @@ -35,8 +35,6 @@ jobs:
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 98f586a

Please sign in to comment.