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 5149d76 commit f127ff7
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions .github/workflows/GoCompileTest.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,11 +23,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 f127ff7

Please sign in to comment.