Skip to content

Commit

Permalink
CI: Temporarily disable staticcheck
Browse files Browse the repository at this point in the history
staticcheck is expected to have support for generics-based code in a few
weeks. Disable it until then.
  • Loading branch information
abhinav committed Mar 22, 2022
1 parent 16c1f53 commit f9edb80
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -26,8 +26,9 @@ lint: $(GOLINT) $(STATICCHECK)
@$(foreach dir,$(MODULE_DIRS),(cd $(dir) && go vet ./... 2>&1) &&) true | tee -a lint.log
@echo "Checking lint..."
@$(foreach dir,$(MODULE_DIRS),(cd $(dir) && $(GOLINT) ./... 2>&1) &&) true | tee -a lint.log
@echo "Checking staticcheck..."
@$(foreach dir,$(MODULE_DIRS),(cd $(dir) && $(STATICCHECK) ./... 2>&1) &&) true | tee -a lint.log
# @echo "Checking staticcheck..."
# @$(foreach dir,$(MODULE_DIRS),(cd $(dir) && $(STATICCHECK) ./... 2>&1) &&) true | tee -a lint.log
# TODO: Re-enable after https://github.com/dominikh/go-tools/issues/1166.
@echo "Checking for unresolved FIXMEs..."
@git grep -i fixme | grep -v -e Makefile | tee -a lint.log
@echo "Checking for license headers..."
Expand Down

0 comments on commit f9edb80

Please sign in to comment.