Run all lint checks at once

This commit is contained in:
kolaente 2021-02-14 22:40:08 +01:00
parent 268e344128
commit 58492fffce
No known key found for this signature in database
GPG key ID: F40E70337AB24C9B

View file

@ -83,9 +83,8 @@ steps:
GOPROXY: 'https://goproxy.kolaente.de' GOPROXY: 'https://goproxy.kolaente.de'
depends_on: [ build ] depends_on: [ build ]
commands: commands:
- ./mage-static check:got-swag
- wget -O - -q https://raw.githubusercontent.com/golangci/golangci-lint/master/install.sh | sh -s -- -b $(go env GOPATH)/bin v1.31.0 - wget -O - -q https://raw.githubusercontent.com/golangci/golangci-lint/master/install.sh | sh -s -- -b $(go env GOPATH)/bin v1.31.0
- ./mage-static check:golangci - ./mage-static check:all
when: when:
event: [ push, tag, pull_request ] event: [ push, tag, pull_request ]