From ca2dca72857d7d9175df9be2e27cb47d49624cbd Mon Sep 17 00:00:00 2001 From: Greg Tyler Date: Tue, 7 May 2024 11:46:18 +0100 Subject: [PATCH] Change formatter for go-lint Based on [golangci/golangci-lint#4695](https://github.com/golangci/golangci-lint/issues/4695), `colored-line-number` is a better formatter than `github-actions` --- docker-compose.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docker-compose.yml b/docker-compose.yml index b73b1e15..9e9816eb 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -122,7 +122,7 @@ services: working_dir: /go/src/app volumes: - ./:/go/src/app - command: golangci-lint run --timeout 5m --out-format=github-actions ./lambda/get/... ./lambda/create/... ./lambda/update/... + command: golangci-lint run --timeout 5m --out-format=colored-line-number ./lambda/get/... ./lambda/create/... ./lambda/update/... gosec: image: securego/gosec:2.19.0