Use callback as interface in model
module
#120
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: JSON check | |
on: | |
push: | |
paths: | |
- "**/*.json" | |
pull_request: | |
workflow_dispatch: | |
jobs: | |
test: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- 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 |