Skip to content

Commit

Permalink
chore: refine CI configuration and dependencies
Browse files Browse the repository at this point in the history
- Remove dynamic Go versioning in favor of pinning to major version `1`
- Update linter version from `v1.56.2` to `v1.58.1` in GitHub Actions workflow

Signed-off-by: Bo-Yi Wu <[email protected]>
  • Loading branch information
appleboy committed May 9, 2024
1 parent 4c70d39 commit d90191e
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions .github/workflows/gin.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,12 +22,11 @@ jobs:
- name: Set up Go
uses: actions/setup-go@v5
with:
go-version-file: "go.mod"
check-latest: true
go-version: "^1"
- name: Setup golangci-lint
uses: golangci/golangci-lint-action@v5
with:
version: v1.56.2
version: v1.58.1
args: --verbose
test:
needs: lint
Expand Down

0 comments on commit d90191e

Please sign in to comment.