Skip to content

chore(deps): update mcr.microsoft.com/vscode/devcontainers/python:1-3… #206

chore(deps): update mcr.microsoft.com/vscode/devcontainers/python:1-3…

chore(deps): update mcr.microsoft.com/vscode/devcontainers/python:1-3… #206

Workflow file for this run

name: JSON lint
on:
workflow_dispatch:
pull_request:
paths:
- "**/*.json"
- "**/*.json.tmpl"
- ".github/workflows/json-lint.yml"
push:
branches:
- main
paths:
- "**/*.json"
- "**/*.json.tmpl"
- ".github/workflows/json-lint.yml"
jobs:
json-lint:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1
- name: Lint JSON
run: find . -name "*.json" -exec cat {} \; | jq .
- name: Lint JSON templates
run: find . -name "*.json.tmpl" -exec cat {} \; | sed "s/\${[^}]*}//g" | jq . # remove ${} placeholders