ci: remove staticcheck install using go install in favor of alpine's
This commit is contained in:
parent
33cc395882
commit
9fd6116858
1 changed files with 1 additions and 2 deletions
|
|
@ -9,8 +9,7 @@ steps:
|
||||||
- name: staticcheck
|
- name: staticcheck
|
||||||
image: golang:1.18.3-alpine3.16
|
image: golang:1.18.3-alpine3.16
|
||||||
commands:
|
commands:
|
||||||
- apk add --no-cache git staticcheck gcc libc-dev
|
- apk add --no-cache git~=2 staticcheck~=2022 gcc~=11 libc-dev~=0
|
||||||
- go install honnef.co/go/tools/cmd/staticcheck@latest
|
|
||||||
- staticcheck
|
- staticcheck
|
||||||
- name: build
|
- name: build
|
||||||
image: plugins/docker
|
image: plugins/docker
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue