-
Notifications
You must be signed in to change notification settings - Fork 791
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add CI to verify that mixin is compiled
Signed-off-by: Joe Adams <[email protected]>
- Loading branch information
Showing
3 changed files
with
14 additions
and
565 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -6,8 +6,8 @@ on: | |
- "elasticsearch-mixin/**" | ||
|
||
jobs: | ||
lint: | ||
name: lint | ||
check-mixin: | ||
name: check | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Checkout repository | ||
|
@@ -23,3 +23,7 @@ jobs: | |
go install github.com/google/go-jsonnet/cmd/[email protected] | ||
- name: Lint | ||
run: bash ./scripts/lint-jsonnet.sh | ||
- name: Compile mixin | ||
run: bash ./scripts/compile-mixin.sh | ||
- name: Verify compiled mixin matches repo | ||
run: git diff --exit-code -- elasticsearch-mixin |
Oops, something went wrong.