Skip to content

Commit

Permalink
chore: add json validator step to action
Browse files Browse the repository at this point in the history
Validates all JSON and YML files by default
  • Loading branch information
pfeerick committed Mar 6, 2024
1 parent a0a67aa commit 4f33ee5
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions .github/workflows/build-n-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,17 @@ on:
- '**.md'

jobs:
json-validate:
name: Validate JSON/YML files
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4

- name: json-yaml-validate
uses: GrantBirki/json-yaml-validate@v2
with:
mode: fail

test-backend:
name: Test backend
runs-on: ubuntu-22.04
Expand Down

0 comments on commit 4f33ee5

Please sign in to comment.