chore(ci): use golangci-lint docker image for lint step
This commit is contained in:
parent
8a4856ad87
commit
916e75da09
@ -133,7 +133,7 @@ steps:
|
|||||||
event: [ push, tag, pull_request ]
|
event: [ push, tag, pull_request ]
|
||||||
|
|
||||||
- name: lint
|
- name: lint
|
||||||
image: vikunja/golang-build:latest
|
image: golangci/golangci-lint:v1.54.2
|
||||||
pull: always
|
pull: always
|
||||||
environment:
|
environment:
|
||||||
GOPROXY: 'https://goproxy.kolaente.de'
|
GOPROXY: 'https://goproxy.kolaente.de'
|
||||||
@ -141,7 +141,6 @@ steps:
|
|||||||
commands:
|
commands:
|
||||||
- export "GOROOT=$(go env GOROOT)"
|
- export "GOROOT=$(go env GOROOT)"
|
||||||
- apk --no-cache add build-base git
|
- apk --no-cache add build-base git
|
||||||
- wget -O - -q https://raw.githubusercontent.com/golangci/golangci-lint/master/install.sh | sh -s -- -b $(go env GOPATH)/bin v1.54.2
|
|
||||||
- ./mage-static check:golangci
|
- ./mage-static check:golangci
|
||||||
when:
|
when:
|
||||||
event: [ push, tag, pull_request ]
|
event: [ push, tag, pull_request ]
|
||||||
@ -778,6 +777,6 @@ steps:
|
|||||||
- failure
|
- failure
|
||||||
---
|
---
|
||||||
kind: signature
|
kind: signature
|
||||||
hmac: d70103ade7cbade073843f8567e666ece3c0c259a604ce632c409a52e6f80556
|
hmac: 29c42e4bd66ba831b30e56f6643b1a51a04414c0947abfa1ca1f92d2163fbc47
|
||||||
|
|
||||||
...
|
...
|
||||||
|
1
.gitignore
vendored
1
.gitignore
vendored
@ -27,3 +27,4 @@ vikunja-dump*
|
|||||||
vendor/
|
vendor/
|
||||||
os-packages/
|
os-packages/
|
||||||
mage_output_file.go
|
mage_output_file.go
|
||||||
|
mage-static
|
||||||
|
Loading…
x
Reference in New Issue
Block a user