From 7a3343edd099e69b59c0cfd1a81083d744fd6a58 Mon Sep 17 00:00:00 2001 From: ivvist Date: Wed, 7 Feb 2024 16:26:24 +0100 Subject: [PATCH] linter config updated --- scripts/gbash.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/scripts/gbash.sh b/scripts/gbash.sh index 371dbe0..8a836b4 100644 --- a/scripts/gbash.sh +++ b/scripts/gbash.sh @@ -11,14 +11,14 @@ curl -sSfL https://raw.githubusercontent.com/golangci/golangci-lint/master/insta golangci-lint --version echo "Download golangci config" -curl -s https://raw.githubusercontent.com/untillpro/ci-action/master/scripts/.golangci.yml +curl -s https://raw.githubusercontent.com/untillpro/ci-action/master/scripts/.golangci.yml > "~/.golangci.yaml" echo "Run linter jobs" mydir="" if test -n "$testfolder"; then mydir="${testfolder}/..." fi -$1/bin/golangci-lint run ${mydir} -config +$1/bin/golangci-lint run ${mydir} --config "~/.golangci.yaml" -v status="$?"