nurse/.concourse/tasks/lint.yml

25 lines
334 B
YAML
Raw Normal View History

2022-09-27 20:19:27 +00:00
---
platform: linux
image_resource:
2022-12-31 09:53:37 +00:00
type: registry-image
source:
repository: docker.io/golangci/golangci-lint
tag: latest
2022-09-27 20:19:27 +00:00
inputs:
2022-12-31 09:53:37 +00:00
- name: repo
path: .
2022-09-27 20:19:27 +00:00
params:
2022-12-31 09:53:37 +00:00
GO111MODULE: "on"
CGO_ENABLED: "0"
GITEA_TOKEN: ((gitea-credentials.token))
2022-09-27 20:19:27 +00:00
run:
2022-12-31 09:53:37 +00:00
path: bash
args:
- -ce
- |
2022-12-31 09:56:45 +00:00
golangci-lint run -v