From e8b48ddece267bfde7c0565a8ec39fd5b53cee72 Mon Sep 17 00:00:00 2001 From: Nicolas Peugnet Date: Mon, 13 Sep 2021 11:32:53 +0200 Subject: Add golangci job to build workflow (#2) * Update build.yml * disable golang-ci for tests * fix args syntax * make errchek only a warning * report only new lint issues --- .golangci.yaml | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100644 .golangci.yaml (limited to '.golangci.yaml') diff --git a/.golangci.yaml b/.golangci.yaml new file mode 100644 index 0000000..7c47848 --- /dev/null +++ b/.golangci.yaml @@ -0,0 +1,10 @@ +run: + tests: false + +severity: + default-severity: error + rules: + - severity: warning + linters: + - errcheck # for now, make errcheck only a warning, remove it later + - deadcode -- cgit v1.2.3