Skip to content

Commit

Permalink
fix(ci) check-generated-go-files checks all files except for vendor, …
Browse files Browse the repository at this point in the history
…go.mod and go.sum

Signed-off-by: Pierre Péronnet <pierre.peronnet@ovhcloud.com>
  • Loading branch information
holyhope committed Mar 30, 2020
1 parent 9248076 commit 5cdf178
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,9 @@ jobs:
uses: actions/checkout@v2
- run: make generate
- name: Check diff
run: test -z "$(git diff-index --diff-filter=d --name-only HEAD)"
run: |
git restore -- vendor go.mod go.sum
git diff-index --exit-code --ignore-cr-at-eol HEAD
# Kubernetes
crd-kubernetes-resources:
Expand Down

0 comments on commit 5cdf178

Please sign in to comment.