From a62f0ecddbbd628d59b15192c361ccef54bc3df4 Mon Sep 17 00:00:00 2001 From: Yidi Date: Thu, 10 Oct 2024 15:02:25 -0400 Subject: [PATCH] refactor(workflow): broaden complexity check scope to entire project This change updates the complexity check in the GitHub workflow to analyze the entire codebase instead of just the internal directory. By doing so, it ensures that all parts of the project are evaluated for code complexity, promoting better code quality and maintainability throughout the project's lifecycle. --- .github/workflows/complecity-check.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/complecity-check.yml b/.github/workflows/complecity-check.yml index f964321..66ffd29 100644 --- a/.github/workflows/complecity-check.yml +++ b/.github/workflows/complecity-check.yml @@ -21,7 +21,7 @@ jobs: run: go install github.com/fzipp/gocyclo/cmd/gocyclo@latest - name: Run gocyclo - run: gocyclo -over 20 ./internal/... || exit 1 + run: gocyclo -over 20 ./... || exit 1 - name: Fail on high complexity if: failure()