test(ci): add golangci-lint
Some checks failed
continuous-integration/drone/push Build is failing

This commit is contained in:
Tom Neuber 2024-06-19 21:29:50 +02:00
parent 275fa96769
commit 7f3f096ee3
Signed by: tom
GPG key ID: F17EFE4272D89FF6

View file

@ -9,6 +9,13 @@ steps:
when:
event:
- push
- name: golangci-linter
image: golangci/golangci-lint:v1.59.1
commands:
- golangci-lint run --enable-all ./...
when:
event:
- push
- name: vuln-check
image: golang:1.22.4
commands:
@ -40,6 +47,7 @@ steps:
- push
depends_on:
- gofmt
- golangci-linter
- vuln-check
- name: docker-build
image: thegeeklab/drone-docker-buildx
@ -66,6 +74,7 @@ steps:
- push
depends_on:
- gofmt
- golangci-linter
- vuln-check
- name: bump tag in deployment-repo
image: git.ar21.de/aaron/kustomize-ci