1
0
Fork 0

Ignore exit codes for formatters (#15276)

This commit is contained in:
Joel Challis 2021-11-23 01:40:53 +00:00 committed by GitHub
parent 6f425c8aa6
commit e73d22d7f1
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -36,11 +36,10 @@ jobs:
- name: Run qmk formatters - name: Run qmk formatters
shell: 'bash {0}' shell: 'bash {0}'
run: | run: |
set +e
cat ~/files_added.txt ~/files_modified.txt > ~/files_changed.txt cat ~/files_added.txt ~/files_modified.txt > ~/files_changed.txt
qmk format-c --core-only $(< ~/files_changed.txt) qmk format-c --core-only $(< ~/files_changed.txt) || true
qmk format-python $(< ~/files_changed.txt) qmk format-python $(< ~/files_changed.txt) || true
qmk format-text $(< ~/files_changed.txt) qmk format-text $(< ~/files_changed.txt) || true
- name: Fail when formatting required - name: Fail when formatting required
run: | run: |