From 16007e14f16f24d5b47b9cd0c85791d1dc09619d Mon Sep 17 00:00:00 2001 From: Nikolay Edigaryev Date: Mon, 13 Jul 2020 11:45:36 +0300 Subject: [PATCH] Enable annotations by generating a golangci artifact --- .cirrus.yml | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/.cirrus.yml b/.cirrus.yml index d03a2fdd..ed7a0006 100644 --- a/.cirrus.yml +++ b/.cirrus.yml @@ -5,7 +5,12 @@ task: container: image: golangci/golangci-lint:latest name: Lint - script: golangci-lint run -v -p bugs,complexity,format,performance,style,unused -D goimports,wsl,gochecknoglobals,funlen,noctx,gofumpt + script: golangci-lint run -v --out-format json -p bugs,complexity,format,performance,style,unused -D goimports,wsl,gochecknoglobals,funlen,noctx,gofumpt > golangci.json + always: + artifacts: + path: golangci.json + type: text/json + format: golangci task: name: Test