Fix comments
Signed-off-by: z1cheng <imchench@gmail.com>
This commit is contained in:
parent
1fb98df5b7
commit
37d88a4909
2 changed files with 2 additions and 6 deletions
6
.github/workflows/golangci-lint.yml
vendored
6
.github/workflows/golangci-lint.yml
vendored
|
@ -1,9 +1,5 @@
|
||||||
name: golangci-lint
|
name: golangci-lint
|
||||||
|
|
||||||
on:
|
|
||||||
pull_request:
|
|
||||||
types: [opened, edited, synchronize, reopened]
|
|
||||||
|
|
||||||
permissions:
|
permissions:
|
||||||
contents: read
|
contents: read
|
||||||
|
|
||||||
|
@ -23,6 +19,6 @@ jobs:
|
||||||
check-latest: true
|
check-latest: true
|
||||||
|
|
||||||
- name: golangci-lint
|
- name: golangci-lint
|
||||||
uses: golangci/golangci-lint-action@639cd343e1d3b897ff35927a75193d57cfcba299 # tag=v3.6.0
|
uses: golangci/golangci-lint-action@639cd343e1d3b897ff35927a75193d57cfcba299 # v3.6.0
|
||||||
with:
|
with:
|
||||||
version: v1.53
|
version: v1.53
|
|
@ -31,4 +31,4 @@ if [[ -z "$(command -v ${LINT})" ]]; then
|
||||||
LINT=$(go env GOPATH)/bin/golangci-lint
|
LINT=$(go env GOPATH)/bin/golangci-lint
|
||||||
fi
|
fi
|
||||||
|
|
||||||
${LINT} run
|
${LINT} run
|
||||||
|
|
Loading…
Reference in a new issue