afm_113: fix some adjustments #28
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 | |
on: | |
push: | |
branches: [ "master" ] | |
pull_request: | |
branches: [ "master" ] | |
# Allows you to run this workflow manually from the Actions tab | |
workflow_dispatch: | |
jobs: | |
check: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Check for unformatted files | |
run: | | |
./tools/reformat-map.sh *.json | |
if [[ -n $(git status --porcelain) ]]; then | |
git status | |
echo "Some files have not been formatted. Please check the README on how to reformat your files." | |
exit 1 | |
fi |