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 da2807a commit 9b704a4
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 > /home/runner/work/.golangci.yaml
curl -s https://raw.githubusercontent.com/untillpro/ci-action/master/scripts/.golangci.yml

echo "Run linter jobs"
mydir=""
if test -n "$testfolder"; then
mydir="${testfolder}/..."
fi
$1/bin/golangci-lint run ${mydir} -config /home/runner/work/.golangci.yaml -v
$1/bin/golangci-lint run ${mydir} -config

status="$?"

Expand Down

0 comments on commit 9b704a4

Please sign in to comment.