feat: initial implementation of claude-mux for parallel AI coding ses… #1
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: | |
| branches: [ main ] | |
| permissions: | |
| contents: read | |
| jobs: | |
| lint: | |
| name: Lint | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v5 | |
| - uses: actions/setup-go@v5 | |
| with: | |
| go-version: '1.25' | |
| cache: true | |
| - name: Install dev dependencies | |
| run: make dev-deps | |
| - name: Run formatter check | |
| run: | | |
| make fmt | |
| git diff --exit-code | |
| - name: Run linter | |
| run: make lint | |
| - name: Run security scan | |
| run: make security | |
| continue-on-error: true # Don't fail build on security issues (yet) | |
| test: | |
| name: Test | |
| runs-on: ${{ matrix.os }} | |
| strategy: | |
| matrix: | |
| os: [ubuntu-latest, macos-latest, windows-latest] | |
| go: ['1.22', '1.25'] | |
| steps: | |
| - uses: actions/checkout@v5 | |
| - uses: actions/setup-go@v5 | |
| with: | |
| go-version: ${{ matrix.go }} | |
| cache: true | |
| - name: Install test dependencies | |
| run: go install gotest.tools/gotestsum@latest | |
| - name: Run tests | |
| run: make test | |
| - name: Upload coverage | |
| if: matrix.os == 'ubuntu-latest' && matrix.go == '1.25' | |
| uses: codecov/codecov-action@v5 | |
| with: | |
| token: ${{ secrets.CODECOV_TOKEN }} | |
| files: ./coverage.out | |
| fail_ci_if_error: false # Don't fail if codecov is down | |
| verbose: true | |
| build: | |
| name: Build | |
| runs-on: ubuntu-latest | |
| needs: [lint, test] | |
| steps: | |
| - uses: actions/checkout@v5 | |
| - uses: actions/setup-go@v5 | |
| with: | |
| go-version: '1.25' | |
| cache: true | |
| - name: Build binary | |
| run: | | |
| make build | |
| ./claude-mux --version |