Skip to content

Commit

Permalink
ensure go mod is tidy in CI
Browse files Browse the repository at this point in the history
  • Loading branch information
chdorner-snyk committed May 31, 2023
1 parent bf35853 commit cea90d0
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -66,6 +66,11 @@ jobs:
- image: golang:1.18
steps:
- checkout
- run:
name: Ensure go mod is tidy
command: |
go mod tidy
git diff --exit-code go.mod go.sum
- run:
name: Enforce Go Formatted Code
command: |
Expand All @@ -79,6 +84,7 @@ jobs:
fi
- run: make install-tools
- run: make lint

test:
resource_class: large
executor:
Expand Down

0 comments on commit cea90d0

Please sign in to comment.