Skip to content

Commit

Permalink
ci: refactor GitHub Actions workflows
Browse files Browse the repository at this point in the history
- Update the GitHub Actions workflow to use version 4 of the golangci-lint-action
- Update the GitHub Actions workflow to use version 4 of the codecov-action

Signed-off-by: Bo-Yi Wu <appleboy.tw@gmail.com>
  • Loading branch information
appleboy committed Mar 6, 2024
1 parent f08c1bc commit 30792dc
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/go.yml
Expand Up @@ -20,7 +20,7 @@ jobs:
go-version-file: go.mod
check-latest: true
- name: Setup golangci-lint
uses: golangci/golangci-lint-action@v3
uses: golangci/golangci-lint-action@v4
with:
args: --verbose
test:
Expand Down Expand Up @@ -62,6 +62,6 @@ jobs:
go test -v -covermode=atomic -coverprofile=coverage.out
- name: Upload coverage to Codecov
uses: codecov/codecov-action@v3
uses: codecov/codecov-action@v4
with:
flags: ${{ matrix.os }},go-${{ matrix.go }}

0 comments on commit 30792dc

Please sign in to comment.