Skip to content

Commit

Permalink
[chore][CI/CD] Add make gotidy check in build-and-test.yml
Browse files Browse the repository at this point in the history
Every PR should be have `make gotidy` run against it to vet updates
to dependencies to make sure we're not committing incorrect updates.
  • Loading branch information
crobert-1 committed Jan 3, 2024
1 parent 8ee1f13 commit 7ecc548
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .github/workflows/build-and-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -107,6 +107,11 @@ jobs:
run: make misspell
- name: checkdoc
run: make checkdoc
- name: Check for go mod dependency changes
run: |
make gotidy
git diff --exit-code || (echo 'go.mod/go.sum deps changes detected, please run "make gotidy" and commit the changes in this PR.' && exit 1)
- name: Gen genotelcontribcol
- name: go:porto
run: |
make goporto
Expand Down

0 comments on commit 7ecc548

Please sign in to comment.