diff --git a/.github/workflows/lint-go.yml b/.github/workflows/lint-go.yml index 9d9bc94..a359b01 100644 --- a/.github/workflows/lint-go.yml +++ b/.github/workflows/lint-go.yml @@ -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 diff --git a/Makefile b/Makefile index 08ae077..b6ff91e 100644 --- a/Makefile +++ b/Makefile @@ -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'