Skip to content

Commit

Permalink
Merge pull request #957 from squat/check_jsonnet
Browse files Browse the repository at this point in the history
CI: add job to check Jsonnet
  • Loading branch information
metalmatze authored Oct 21, 2023
2 parents 8e80ef4 + 49a5653 commit f0f0c6c
Showing 1 changed file with 21 additions and 0 deletions.
21 changes: 21 additions & 0 deletions .github/workflows/generate.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
name: generate
on:
push:
branches:
- main
paths:
- examples/**
pull_request:

jobs:
jsonnet:
runs-on: ubuntu-latest
name: Generate Jsonnet examples
steps:
- uses: actions/checkout@v4
- uses: actions/setup-go@v4
with:
go-version-file: go.mod
- uses: zendesk/setup-jsonnet@v11
- run: go install github.com/brancz/gojsontoyaml@latest
- run: make --always-make examples && git diff --exit-code

0 comments on commit f0f0c6c

Please sign in to comment.