Skip to content

make nitro.json wrong #3

make nitro.json wrong

make nitro.json wrong #3

name: Validate nitro.json
on:
push:
branches:
- main
paths:
- '.github/workflows/validate-nitro-json.yml'
- '**/*.json'
pull_request:
paths:
- '.github/workflows/validate-nitro-json.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

Check failure on line 27 in .github/workflows/validate-nitro-json.yml

View workflow run for this annotation

GitHub Actions / .github/workflows/validate-nitro-json.yml

Invalid workflow file

You have an error in your yaml syntax on line 27