test: fix golint error
This commit is contained in:
parent
7e59f2a38d
commit
1e266176ba
13
.github/workflows/static.yaml
vendored
13
.github/workflows/static.yaml
vendored
@ -7,12 +7,15 @@ jobs:
|
|||||||
name: Go Lint
|
name: Go Lint
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout code
|
- name: Set up Go 1.x
|
||||||
uses: actions/checkout@master
|
uses: actions/setup-go@v3
|
||||||
- name: Run linter
|
|
||||||
uses: golangci/golangci-lint-action@v2
|
|
||||||
with:
|
with:
|
||||||
version: v1.45
|
go-version: ^1.19
|
||||||
|
- uses: actions/checkout@master
|
||||||
|
- name: Run linter
|
||||||
|
uses: golangci/golangci-lint-action@v3
|
||||||
|
with:
|
||||||
|
version: v1.51
|
||||||
args: -E=gofmt,deadcode,unused,varcheck,ineffassign,revive,misspell,exportloopref,asciicheck,bodyclose,contextcheck --timeout=30m0s
|
args: -E=gofmt,deadcode,unused,varcheck,ineffassign,revive,misspell,exportloopref,asciicheck,bodyclose,contextcheck --timeout=30m0s
|
||||||
verify-helm:
|
verify-helm:
|
||||||
name: Verify Helm
|
name: Verify Helm
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user