fix: simplify json format/validation action #4
Workflow file for this run
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: validate-json | |
on: | |
push: | |
branches: | |
- "**" | |
pull_request: | |
types: | |
- opened | |
- synchronize | |
jobs: | |
format: | |
runs-on: ubuntu-latest | |
steps: | |
- name: checkout code | |
uses: actions/checkout@v4 | |
- uses: cashapp/activate-hermit@v1 | |
name: setup hermit with `just` and `jq` | |
with: | |
cache: true | |
- name: format json files | |
id: format-json | |
run: just format |