Skip to content

Commit

Permalink
Merge pull request #148 from filecoin-project/feat/lint
Browse files Browse the repository at this point in the history
Add JSON syntax validation on PRs
  • Loading branch information
Kevin-FF-USA authored Jul 25, 2024
2 parents c8b8c36 + 2d963e6 commit 747b20c
Showing 1 changed file with 22 additions and 0 deletions.
22 changes: 22 additions & 0 deletions .github/workflows/syntax.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
name: Validate JSON

on:
push:
branches-ignore: [master]
pull_request:
branches: [master]

jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout Code
uses: actions/checkout@v4
with:
fetch-depth: 0

- name: jsonlint
uses: super-linter/super-linter/slim@v5
env:
VALIDATE_JSON: true
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

0 comments on commit 747b20c

Please sign in to comment.