mirror of
https://github.com/open-webui/open-webui
synced 2025-06-16 11:23:56 +00:00
Merge pull request #1348 from cheahjs/fix/format-actions-enforce
fix: enforce formatters on GitHub Actions
This commit is contained in:
commit
09da5e71e2
2
.github/workflows/format-backend.yaml
vendored
2
.github/workflows/format-backend.yaml
vendored
@ -25,3 +25,5 @@ jobs:
|
|||||||
pip install yapf
|
pip install yapf
|
||||||
- name: Format backend
|
- name: Format backend
|
||||||
run: bun run 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
|
run: bun install
|
||||||
- name: Format frontend
|
- name: Format frontend
|
||||||
run: bun run format
|
run: bun run format
|
||||||
|
- name: Check for changes after format
|
||||||
|
run: git diff --exit-code
|
||||||
- name: Build frontend
|
- name: Build frontend
|
||||||
|
if: always()
|
||||||
run: bun run build
|
run: bun run build
|
||||||
|
Loading…
Reference in New Issue
Block a user