Skip to content

Commit

Permalink
Improving linter reporting in github actions
Browse files Browse the repository at this point in the history
Signed-off-by: Mikalai Radchuk <mradchuk@redhat.com>
  • Loading branch information
m1kola committed Jun 20, 2023
1 parent ad249fe commit a2c634b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/sanity.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -28,4 +28,4 @@ jobs:
go-version-file: "go.mod"

- name: Run golangci linting checks
run: make lint
run: make lint GOLANGCI_LINT_ARGS="--out-format github-actions"
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ tidy: ## Update modules.

.PHONY: lint
lint: golangci-lint ## Run golangci-lint linter checks.
$(GOLANGCI_LINT) run
$(GOLANGCI_LINT) run $(GOLANGCI_LINT_ARGS)

.PHONY: verify
verify: tidy ## Run verification checks.
Expand Down

0 comments on commit a2c634b

Please sign in to comment.