mirror of
https://github.com/open-webui/open-webui
synced 2024-11-16 05:24:02 +00:00
fix: enforce formatters on GitHub Actions
This commit is contained in:
parent
c42cb438f9
commit
f34fe49bdd
2
.github/workflows/format-backend.yaml
vendored
2
.github/workflows/format-backend.yaml
vendored
@ -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
|
||||
|
3
.github/workflows/format-build-frontend.yaml
vendored
3
.github/workflows/format-build-frontend.yaml
vendored
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user