Update PR template to include change category self-assessment (#274) #1180
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
# This is based on the Go starter workflow from: | |
# https://docs.github.com/en/actions/automating-builds-and-tests/building-and-testing-go | |
name: Validate schema, examples, and counterexamples | |
on: | |
push: | |
paths: | |
- 'schema/**' | |
- 'examples/**' | |
- 'counterexamples/**' | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Set up Go | |
uses: actions/setup-go@v5 | |
with: | |
go-version: 1.22 | |
- name: Install dependencies | |
run: go install github.com/santhosh-tekuri/jsonschema/cmd/jv@latest | |
- name: Validate | |
run: ./test.sh |