Skip to content

Commit

Permalink
fix: 修复 go-lint 问题
Browse files Browse the repository at this point in the history
  • Loading branch information
hamster1963 committed Dec 29, 2023
1 parent f127ff7 commit c7c0e19
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions .github/workflows/go-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -44,11 +44,15 @@ jobs:
- uses: actions/setup-go@v5
with:
go-version: '1.21'
cache: false

- run: go mod download

# 进行代码检查
- name: golangci-lint
uses: golangci/golangci-lint-action@v3
with:
version: v1.53
version: v1.55.2
skip-pkg-cache: true

build-test:
runs-on: ubuntu-latest
Expand Down

0 comments on commit c7c0e19

Please sign in to comment.