Skip to content

Commit

Permalink
Run fmt before verify-gen
Browse files Browse the repository at this point in the history
Signed-off-by: Tamal Saha <tamal@appscode.com>
  • Loading branch information
tamalsaha committed Oct 17, 2019
1 parent a75ba83 commit c95171e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,5 +17,5 @@ jobs:
- name: Check out code into the Go module directory
uses: actions/checkout@v1

- name: Build
- name: Run checks
run: make ci
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -307,7 +307,7 @@ verify-modules:
fi

.PHONY: verify-gen
verify-gen: gen
verify-gen: gen fmt
@if !(git diff --quiet HEAD); then \
echo "generated files are out of date, run make gen"; exit 1; \
fi
Expand Down

0 comments on commit c95171e

Please sign in to comment.