Merge pull request #1221 from msvechla/mimir_support #353
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
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@v5 | |
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 |