refactor: remove unused ProjectRunnerSurface slots and toggle helpe…
#76
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: Validate (lint, test & ...) | |
| on: | |
| push: | |
| pull_request: | |
| jobs: | |
| spx-gui-lint: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v5 | |
| - name: Enable Corepack | |
| run: corepack enable | |
| - name: Set up Node.js | |
| uses: actions/setup-node@v5 | |
| with: | |
| node-version: 20.11.1 | |
| cache: npm | |
| cache-dependency-path: spx-gui/package-lock.json | |
| - name: Install modules | |
| working-directory: spx-gui | |
| run: npm install | |
| - name: Install spx | |
| working-directory: spx-gui | |
| run: ./install-spx.sh | |
| - name: Run Vue TSC | |
| working-directory: spx-gui | |
| run: npm run type-check | |
| - name: Run ESLint | |
| working-directory: spx-gui | |
| run: npm run lint | |
| - name: Run format check | |
| working-directory: spx-gui | |
| run: npm run format-check | |
| - name: Setup Go | |
| uses: actions/setup-go@v6 | |
| with: | |
| go-version: 1.24.x | |
| - name: Build WASM | |
| working-directory: spx-gui | |
| run: ./build-wasm.sh | |
| - name: Run Vitest | |
| working-directory: spx-gui | |
| run: npm run test | |
| - name: Build | |
| working-directory: spx-gui | |
| run: npm run build | |
| spx-backend-test: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v5 | |
| - name: Set up Go & XGo | |
| uses: goplus/setup-xgo@v1 | |
| with: | |
| go-version: 1.24.x | |
| xgo-version: 1.5.x | |
| - name: Run unit test cases | |
| working-directory: spx-backend | |
| run: go test -v -race ./... | |
| tools-ai-test: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v5 | |
| - name: Setup Go | |
| uses: actions/setup-go@v6 | |
| with: | |
| go-version: 1.24.x | |
| - name: Run unit test cases | |
| working-directory: tools/ai | |
| run: go test -v -race ./... |