Yongmin Hong
0833c791ac
Summary: Add JSONLint (not the jsonlint npm package) for json linting. Also fix yamllint to correct job name and add `.vscode` stuff. Signed-off-by: Yongmin Hong <revi@omglol.email> Test Plan: Just land it. Reviewers: O1 revi & automations, revi Reviewed By: O1 revi & automations, revi Differential Revision: https://issuetracker.revi.xyz/D336
25 lines
505 B
YAML
25 lines
505 B
YAML
---
|
|
name: JSON Lint
|
|
on:
|
|
push:
|
|
paths:
|
|
- '**.json'
|
|
- '.arc*'
|
|
- '**.sublime-settings'
|
|
pull_request:
|
|
paths:
|
|
- '**.json'
|
|
merge_group:
|
|
workflow_dispatch:
|
|
|
|
jobs:
|
|
jsonlint:
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- name: 'Checkout'
|
|
uses: actions/checkout@v4
|
|
- name: Run JSON Lint
|
|
env:
|
|
REPORT_ONLY: true
|
|
SHOW_ERRORS: true
|
|
run: bash <(curl -s https://raw.githubusercontent.com/CICDToolbox/json-lint/master/pipeline.sh)
|