docs: expand CLAUDE.md and fix container memory to 3G #10
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: | |
| lint: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - uses: astral-sh/setup-uv@v4 | |
| with: | |
| python-version: "3.13" | |
| - run: cd app/cli && uv sync && uv run ruff check . | |
| test-cli: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - uses: astral-sh/setup-uv@v4 | |
| with: | |
| python-version: "3.13" | |
| - run: cd app/cli && uv sync && uv run pytest -v | |
| test-entrypoint: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - name: Install ShellSpec | |
| run: curl -fsSL https://git.io/shellspec | sh -s -- -y | |
| - run: cd config && shellspec --shell bash | |
| dockerfile-lint: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - uses: hadolint/hadolint-action@v3.1.0 | |
| with: | |
| dockerfile: config/Dockerfile | |
| failure-threshold: error | |
| - uses: hadolint/hadolint-action@v3.1.0 | |
| with: | |
| dockerfile: config/Dockerfile.wolfi | |
| failure-threshold: error | |
| docker-build: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - uses: docker/setup-buildx-action@v3 | |
| - name: Build Alpine image (builder stage only — runtime requires glibc for Claude CLI) | |
| run: docker build --target=builder -f config/Dockerfile -t stackai:ci-test config/ |