Skip to content

Merge pull request #31 from Freed-Wu/nixos #24

Merge pull request #31 from Freed-Wu/nixos

Merge pull request #31 from Freed-Wu/nixos #24

Workflow file for this run

---
# yamllint disable-line rule:truthy
on:
push:
paths:
- assets/json/*.json
pull_request:
paths:
- assets/json/*.json
workflow_dispatch:
jobs:
test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Check if a json is sorted
run: |
for json in assets/json/*.json ; do
diff <(jq -S . $json) $json || exit 1
done