Skip to content

Commit

Permalink
add revive linter and fix the lint error
Browse files Browse the repository at this point in the history
Signed-off-by: duanmengkk <[email protected]>
  • Loading branch information
duanmengkk committed Sep 12, 2024
1 parent 2d7e412 commit 207e239
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,8 @@ jobs:
uses: actions/setup-go@v4
with:
go-version: '1.20'
- name: Set up GOPROXY for Go
run: go env -w GOPROXY=https://goproxy.cn,direct
- name: lint
run: hack/verify-staticcheck.sh
- name: vendor
Expand Down
3 changes: 3 additions & 0 deletions .github/workflows/release_binaries.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,9 @@ jobs:
- name: Install Go
uses: actions/setup-go@v3

- name: Set up GOPROXY for Go
run: go env -w GOPROXY=https://goproxy.cn,direct

# step3: make binaries
- name: Make binaries
run: make release
Expand Down

0 comments on commit 207e239

Please sign in to comment.