Created
July 8, 2023 13:27
-
-
Save priyankarpal/e0af720bb6d680af975277c028f2ca69 to your computer and use it in GitHub Desktop.
json code checker
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: JSON check | |
on: | |
push: | |
paths: | |
- '**.json' | |
pull_request: | |
jobs: | |
test: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- name: json-syntax-check | |
uses: limitusus/json-syntax-check@v2 | |
with: | |
pattern: "\\.json$" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment