gapr/.concourse/tasks/lint.yml
Peter Kurfer e643e7424b
All checks were successful
concourse-ci/lint/golangci-lint Lint Go files
concourse-ci/test/gotestsum Run unit tests
chore(ci): set memory limits for CI jobs
2023-01-31 21:23:09 +01:00

28 lines
407 B
YAML

---
platform: linux
image_resource:
type: registry-image
source:
repository: docker.io/golangci/golangci-lint
tag: latest
inputs:
- name: repo
path: .
params:
GO111MODULE: "on"
CGO_ENABLED: "0"
GOMEMLIMIT: "1150MiB"
GITEA_TOKEN: ((gitea-credentials.token))
container_limits:
memory: 1258291200 # 1200MB
run:
path: bash
args:
- -ce
- |
golangci-lint run -v