fix: enforce formatters on GitHub Actions

This commit is contained in:
Jun Siang Cheah 2024-03-28 23:42:50 +00:00
parent c42cb438f9
commit f34fe49bdd
2 changed files with 5 additions and 0 deletions

View File

@ -25,3 +25,5 @@ jobs:
pip install yapf
- name: Format backend
run: bun run format:backend
- name: Check for changes after format
run: git diff --exit-code

View File

@ -18,5 +18,8 @@ jobs:
run: bun install
- name: Format frontend
run: bun run format
- name: Check for changes after format
run: git diff --exit-code
- name: Build frontend
if: always()
run: bun run build