Skip to content

Commit

Permalink
ci: diff target
Browse files Browse the repository at this point in the history
Signed-off-by: Mateusz Urbanek <[email protected]>
  • Loading branch information
shanduur committed Sep 11, 2024
1 parent 4090119 commit 958e140
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 2 deletions.
6 changes: 4 additions & 2 deletions .github/workflows/linters.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -43,5 +43,7 @@ jobs:
- run: |
make lint-manifests
- run: |
make generate-docs generate-schemas
git diff-index HEAD --exit-code --
make \
generate-docs \
generate-schemas \
diff
7 changes: 7 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,9 @@ CHART ?=
SHELL = /usr/bin/env bash -o pipefail
.SHELLFLAGS = -ec

.PHONY: all
all: backfill-app-version generate-schemas generate-docs

##@ General

# The help target prints out all targets with their descriptions organized
Expand Down Expand Up @@ -59,6 +62,10 @@ _generate-schema:
lint-manifests: kube-linter ## Run kube-linter on Kubernetes manifests.
$(KUBE_LINTER) lint --config=.kube-linter.yaml ./anza-labs/**

.PHONY: diff
diff:
git --no-pager diff --exit-code HEAD --

##@ Dependencies

## Location to install dependencies to
Expand Down

0 comments on commit 958e140

Please sign in to comment.