From 2cd474d24a1b1ff5db78962731113d545e2d4905 Mon Sep 17 00:00:00 2001 From: Joshua Taylor Date: Sat, 3 Aug 2024 11:49:52 -0500 Subject: [PATCH] Attempt to get spec validation working --- .github/workflows/json.yml | 7 ++++--- .gitignore | 15 --------------- exclude.txt | 1 + 3 files changed, 5 insertions(+), 18 deletions(-) create mode 100644 exclude.txt diff --git a/.github/workflows/json.yml b/.github/workflows/json.yml index f4b9be33..e3e423ac 100644 --- a/.github/workflows/json.yml +++ b/.github/workflows/json.yml @@ -17,7 +17,8 @@ jobs: pattern: "\\.json$*" - name: json-yaml-validate - uses: GrantBirki/json-yaml-validate@v2.5.0 + uses: GrantBirki/json-yaml-validate@v3.0.0 with: - json_schema: "./spec.json" - json_schema_version: "draft-2020-12" \ No newline at end of file + json_schema: ./spec.json + json_schema_version: draft-2020-12 + exclude_file: exclude.yxy \ No newline at end of file diff --git a/.gitignore b/.gitignore index f479089a..62c89355 100644 --- a/.gitignore +++ b/.gitignore @@ -1,16 +1 @@ -# Binaries for programs and plugins -*.exe -*.dll -*.so -*.dylib - -# Test binary, build with `go test -c` -*.test - -# Output of the go coverage tool, specifically when used with LiteIDE -*.out - -# Project-local glide cache, RE: https://github.com/Masterminds/glide/issues/736 -.glide/ - .idea/ \ No newline at end of file diff --git a/exclude.txt b/exclude.txt new file mode 100644 index 00000000..122c0d1c --- /dev/null +++ b/exclude.txt @@ -0,0 +1 @@ +*/data.json \ No newline at end of file