Merge pull request #177 from rust-lang/fix-github-actions-workflows #97
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 | |
"on": | |
push: | |
branches: | |
- master | |
pull_request: | |
workflow_dispatch: | |
jobs: | |
style: | |
name: Check style | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@v4 | |
- name: Run prettier | |
uses: creyD/prettier_action@v4.3 | |
with: | |
dry: true | |
prettier_options: "--check **/*.json" |