fix(release): prevent arbiter workflow parse failure #48
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: ci | |
| on: | |
| push: | |
| branches: | |
| - main | |
| pull_request: | |
| jobs: | |
| repo-hygiene: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout | |
| uses: actions/checkout@v4 | |
| with: | |
| fetch-depth: 0 | |
| - name: Run repository hygiene scan | |
| run: ./tools/ci/secret_history_scan.sh | |
| go-and-policy: | |
| runs-on: ubuntu-latest | |
| needs: | |
| - repo-hygiene | |
| steps: | |
| - name: Checkout | |
| uses: actions/checkout@v4 | |
| - name: Set up Go | |
| uses: actions/setup-go@v5 | |
| with: | |
| go-version-file: go.mod | |
| - name: Run Go tests | |
| run: go test ./... | |
| - name: Set up OPA | |
| uses: open-policy-agent/setup-opa@v2 | |
| with: | |
| version: latest | |
| - name: Run policy tests | |
| run: opa test policy/core policy/domain policy/tests policy/data -v | |
| control-plane: | |
| runs-on: ubuntu-latest | |
| needs: | |
| - repo-hygiene | |
| defaults: | |
| run: | |
| working-directory: apps/control-plane | |
| steps: | |
| - name: Checkout | |
| uses: actions/checkout@v4 | |
| - name: Set up Node | |
| uses: actions/setup-node@v4 | |
| with: | |
| node-version: 20 | |
| cache: npm | |
| cache-dependency-path: apps/control-plane/package-lock.json | |
| - name: Install dependencies | |
| run: npm ci | |
| - name: Run control-plane tests | |
| run: npm run test | |
| openclaw-plugin: | |
| runs-on: ubuntu-latest | |
| needs: | |
| - repo-hygiene | |
| defaults: | |
| run: | |
| working-directory: integrations/openclaw-plugin | |
| steps: | |
| - name: Checkout | |
| uses: actions/checkout@v4 | |
| - name: Set up Node | |
| uses: actions/setup-node@v4 | |
| with: | |
| node-version: 22 | |
| cache: npm | |
| cache-dependency-path: integrations/openclaw-plugin/package-lock.json | |
| - name: Install dependencies | |
| run: npm ci | |
| - name: Run plugin tests | |
| run: npm test | |
| - name: Run package smoke check | |
| run: npm run pack:check | |
| bundle-smoke: | |
| runs-on: ubuntu-latest | |
| needs: | |
| - control-plane | |
| steps: | |
| - name: Checkout | |
| uses: actions/checkout@v4 | |
| - name: Run OPA bundle smoke test | |
| run: ./tools/ci/opa_bundle_smoke.sh |