chore(ci): output diff files for manifests files

This commit is contained in:
Maksim Fedotov
2021-05-21 19:20:10 +03:00
committed by Dario Tranchitella
parent 784f3a71df
commit bb6614d1e8

View File

@@ -37,7 +37,7 @@ jobs:
${{ runner.os }}-
- run: make manifests
- name: Checking if manifests are disaligned
run: test -z "$(git diff 2> /dev/null)"
run: if [[ $(git diff | wc -l) -gt 0 ]]; then echo ">>> Untracked generated files have not been committed" && git --no-pager diff && exit 1; fi
- name: Checking if manifests generated untracked files
run: test -z "$(git ls-files --others --exclude-standard 2> /dev/null)"
- run: make fmt vet