Json_check.yml 323 B

1234567891011121314151617
  1. name: JSON check
  2. run-name: JSON check
  3. on:
  4. push:
  5. paths:
  6. - '**.json'
  7. pull_request:
  8. branches: master
  9. jobs:
  10. test:
  11. runs-on: ubuntu-latest
  12. steps:
  13. - uses: actions/checkout@v2
  14. - name: json-syntax-check
  15. uses: limitusus/json-syntax-check@v2
  16. with:
  17. pattern: "\\.json$"