Skip to content

Commit

Permalink
Create validate-nitro-json.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
mrousavy committed Dec 4, 2024
1 parent f7802e2 commit 0a58267
Showing 1 changed file with 27 additions and 0 deletions.
27 changes: 27 additions & 0 deletions .github/workflows/validate-nitro-json.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
name: Validate nitro.json

on:
push:
branches:
- main
paths:
- '.github/workflows/validate-nitro-json.yml'
- '**/*.json'
pull_request:
paths:
- '.github/workflows/lint-cpp.yml'
- '**/*.json'

jobs:
validate-github-actions-workflows:
name: Validate GitHub Actions workflows
permissions:
contents: read
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Validate nitro.json
uses: dsanders11/json-schema-validate-action
with:
schema: ./docs/static/nitro.schema.json
files: **/nitro.json

0 comments on commit 0a58267

Please sign in to comment.