chore(ci): use golangci-lint docker image for lint step

This commit is contained in:
kolaente 2023-10-22 17:30:36 +02:00
parent 8a4856ad87
commit 916e75da09
Signed by: konrad
GPG Key ID: F40E70337AB24C9B
2 changed files with 3 additions and 3 deletions

View File

@ -133,7 +133,7 @@ steps:
event: [ push, tag, pull_request ]
- name: lint
image: vikunja/golang-build:latest
image: golangci/golangci-lint:v1.54.2
pull: always
environment:
GOPROXY: 'https://goproxy.kolaente.de'
@ -141,7 +141,6 @@ steps:
commands:
- export "GOROOT=$(go env GOROOT)"
- 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
when:
event: [ push, tag, pull_request ]
@ -778,6 +777,6 @@ steps:
- failure
---
kind: signature
hmac: d70103ade7cbade073843f8567e666ece3c0c259a604ce632c409a52e6f80556
hmac: 29c42e4bd66ba831b30e56f6643b1a51a04414c0947abfa1ca1f92d2163fbc47
...

1
.gitignore vendored
View File

@ -27,3 +27,4 @@ vikunja-dump*
vendor/
os-packages/
mage_output_file.go
mage-static