Skip to content

Commit

Permalink
linter config updated
Browse files Browse the repository at this point in the history
  • Loading branch information
ivvist committed Feb 7, 2024
1 parent 9b704a4 commit 7a3343e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions scripts/gbash.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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="$?"

Expand Down

0 comments on commit 7a3343e

Please sign in to comment.