From 2fb3b285f572685ea3366d9b8e7f66a2818a443c Mon Sep 17 00:00:00 2001
From: Malte Bauch <malte.bauch@stud.h-da.de>
Date: Mon, 28 Sep 2020 10:47:40 +0200
Subject: [PATCH] trying to fix code-climate output

---
 .gitlab-ci.yml | 2 +-
 .golangci.yml  | 8 ++++----
 2 files changed, 5 insertions(+), 5 deletions(-)

diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 365e0c4b3..1d18dde9e 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -10,7 +10,7 @@ code-quality:
     - merge_requests
   script:
     # writes golangci-lint output to gl-code-quality-report.json
-    - golangci-lint run | tee gl-code-quality-report.json
+    - golangci-lint run --out-format code-climate | tee gl-code-quality-report.json
   artifacts:
     reports:
       codequality: gl-code-quality-report.json
diff --git a/.golangci.yml b/.golangci.yml
index c3c952b80..69bb13aaf 100644
--- a/.golangci.yml
+++ b/.golangci.yml
@@ -1,10 +1,10 @@
 run:
   timeout: 5m
   issues-exit-code: 1
-  output:
-    format: code-climate
-    print-issued-lines: true
-    print-linter-name: true
+  # output:
+  #   format: code-climate
+  #   print-issued-lines: true
+  #   print-linter-name: true
   modules-download-mode: vendor
 linters-settings:
   gocyclo:
-- 
GitLab