Add formatting workflow with prettier and gofumpt v0.8.0
This commit adds a new GitHub workflow for code formatting that:
- Uses prettier to check JavaScript/TypeScript code formatting
- Uses gofumpt v0.8.0 to check Go code formatting
- Updates the queue workflow to run both UI tests and formatting checks
Co-Authored-By: sketch
diff --git a/.github/workflows/queue-main.yml b/.github/workflows/queue-main.yml
index ae0f0b1..120a684 100644
--- a/.github/workflows/queue-main.yml
+++ b/.github/workflows/queue-main.yml
@@ -16,13 +16,21 @@
permissions: read-all
jobs:
- test:
+ go-test:
uses: ./.github/workflows/go_test.yml
permissions: read-all
+ ui-test:
+ uses: ./.github/workflows/webui_test.yml
+ permissions: read-all
+
+ formatting:
+ uses: ./.github/workflows/formatting.yml
+ permissions: read-all
+
push-to-main:
runs-on: ubuntu-latest
- needs: [test]
+ needs: [go-test, ui-test, formatting]
permissions:
contents: write
steps: