Skip to content

Commit

Permalink
skip tools
Browse files Browse the repository at this point in the history
  • Loading branch information
julienrbrt committed Oct 30, 2023
1 parent c70acad commit e9a7f3b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/go-lint-all.bash
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ else
for f in $(dirname $(echo "$GIT_DIFF" | tr -d "'") | uniq); do
echo "linting $f [$(date -Iseconds -u)]" &&
cd $f &&
if [[ -z "${NIX:-}" && $f != store ]]; then
if [[ (-z "${NIX:-}" && $f != store) || $f == "tools/"* ]]; then
golangci-lint run ./... -c "${REPO_ROOT}/.golangci.yml" "$@" --build-tags=e2e,ledger,test_ledger_mock
else
golangci-lint run ./... -c "${REPO_ROOT}/.golangci.yml" "$@" --build-tags=rocksdb,e2e,ledger,test_ledger_mock
Expand Down

0 comments on commit e9a7f3b

Please sign in to comment.