Skip to content

Commit b946036

Browse files
committed
ci: fix golangci-lint error
golangci/golangci-lint#825 (comment)
1 parent af21b19 commit b946036

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

.gitea/workflows/lint.yaml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ name: Lint
22
on:
33
push:
44
branches:
5-
- '**'
5+
- "**"
66
workflow_call:
77
jobs:
88
golangci:
@@ -16,6 +16,8 @@ jobs:
1616
token: ${{ secrets.GH_TOKEN }}
1717
- name: use mirror
1818
run: go env -w GOPROXY=https://goproxy.cn,direct
19+
- name: tidy dependencies
20+
run: go mod tidy && go mod vendor
1921
- name: golangci-lint
2022
uses: golangci/golangci-lint-action@v6
2123
with:

0 commit comments

Comments
 (0)