Skip to content

Commit

Permalink
Merge pull request #19 from go-advanced-admin/complexity
Browse files Browse the repository at this point in the history
fix(workflow): update path for complexity check in workflow
  • Loading branch information
YidiDev authored Oct 10, 2024
2 parents 3a60f6d + 63d6fe4 commit eeddb10
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/complecity-check.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ jobs:
run: go install github.com/fzipp/gocyclo/cmd/gocyclo@latest

- name: Run gocyclo
run: gocyclo -over 20 ./... || exit 1
run: gocyclo -over 20 . || exit 1

- name: Fail on high complexity
if: failure()
Expand Down

0 comments on commit eeddb10

Please sign in to comment.