Skip to content

Update path of json to real path so validation can be used in other w… #2

Update path of json to real path so validation can be used in other w…

Update path of json to real path so validation can be used in other w… #2

Workflow file for this run

name: validate-json
on:
[push]
# push:
# branches: ["main"]
# pull_request:
# branches: ["main"]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Set up Go
uses: actions/setup-go@v5
with:
go-version: ">=1.22.4"
- name: Install dependencies
run: go install github.com/santhosh-tekuri/jsonschema/cmd/jv@latest
- name: Validate JSON files
run: jv test/data/snapshot-schema.json json/*.json