Skip to content

Commit

Permalink
fix: add timeout and remove new-from-rev
Browse files Browse the repository at this point in the history
Signed-off-by: PoAn Yang <[email protected]>
  • Loading branch information
FrankYang0529 authored and derekbit committed Apr 29, 2024
1 parent 87b6d78 commit 75832d5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/validate
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ echo Running: go vet
go vet ${PACKAGES}

echo "Running: golangci-lint"
golangci-lint run --new-from-rev=${headSHA}
golangci-lint run --timeout=5m

echo Running: go fmt
test -z "$(go fmt ${PACKAGES} | tee /dev/stderr)"

0 comments on commit 75832d5

Please sign in to comment.