Merge pull request #62 from csunibo/new_degrees #129
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" | |
workflow_dispatch: | |
jobs: | |
test: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Check JSON syntax | |
uses: limitusus/json-syntax-check@v2 | |
with: | |
pattern: "\\.json$" | |
- name: Check JSON formatting | |
uses: creyD/[email protected] | |
with: | |
prettier_options: --write **/*.json | |
only_changed: True |