Skip to content

Commit

Permalink
Importas lint
Browse files Browse the repository at this point in the history
  • Loading branch information
Kiss, Tibor committed Jan 26, 2024
1 parent 8d353a3 commit 29c3b94
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/lint-go.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,4 +16,4 @@ jobs:
uses: kyma-project/eventing-tools/.github/workflows/lint-go-reusable.yml@main
with:
go-version: '1.21'
lint-config-uri: https://raw.githubusercontent.com/kyma-project/eventing-tools/main/config/lint/.golangci.yaml
lint-config-uri: https://raw.githubusercontent.com/kyma-project/eventing-tools/b740019d37e5b69c1a1383c71bb5fb5a44c6534e/config/lint/.golangci.yaml
4 changes: 2 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -68,8 +68,8 @@ lint-report-issue-category: ## Get lint issues categories
lint-report-get-category: ## Get lint issues by category
cat ./lint-report.json | jq --arg CATEGORY $$CATEGORY '.Issues[] | select(.FromLinter==$$CATEGORY)'

.PHONY: lint-repost-count-issue
lint-repost-count-issue: ## Count lint issues
.PHONY: lint-report-count-issue
lint-report-count-issue: ## Count lint issues
make lint-report-clean
make lint-report
cat ./lint-report.json | jq '.Issues | length'
Expand Down

0 comments on commit 29c3b94

Please sign in to comment.