Skip to content

Commit

Permalink
Add CI to verify that mixin is compiled
Browse files Browse the repository at this point in the history
Signed-off-by: Joe Adams <[email protected]>
  • Loading branch information
sysadmind committed Jul 14, 2024
1 parent 1bdb499 commit 7619b3a
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 565 deletions.
8 changes: 6 additions & 2 deletions .github/workflows/mixin.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@ on:
- "elasticsearch-mixin/**"

jobs:
lint:
name: lint
check-mixin:
name: check
runs-on: ubuntu-latest
steps:
- name: Checkout repository
Expand All @@ -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
Loading

0 comments on commit 7619b3a

Please sign in to comment.