forked from ava-labs/avalanchego
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
github action: use lint.sh in CI (ava-labs#1050)
Signed-off-by: Gyuho Lee <[email protected]>
- Loading branch information
Showing
3 changed files
with
20 additions
and
12 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -24,7 +24,8 @@ fi | |
TESTS=${TESTS:-"golangci_lint license_header"} | ||
|
||
function test_golangci_lint { | ||
golangci-lint run --max-same-issues=0 --timeout=2m | ||
go install -v github.com/golangci/golangci-lint/cmd/[email protected] | ||
golangci-lint run --config .golangci.yml | ||
} | ||
|
||
# find_go_files [package] | ||
|