workspace: make Quarto PR preview robust (un-failable comment + correct URL on private repos) #329
Workflow file for this run
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] | |
| jobs: | |
| code-quality: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - name: Install uv | |
| uses: astral-sh/setup-uv@v4 | |
| - name: Check formatting | |
| run: make format-check | |
| - name: lint | |
| run: make lint | |
| - name: Lint shell scripts with shellcheck | |
| uses: ludeeus/action-shellcheck@master | |
| with: | |
| scandir: './scripts ./plugins/asta-tools/hooks ./plugins/asta-tools/skills/workspace/assets' | |
| - name: Check skill frontmatter against Agent Skills spec | |
| run: make check-skills | |
| test: | |
| runs-on: ubuntu-latest | |
| strategy: | |
| matrix: | |
| python-version: ["3.11", "3.12", "3.13"] | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - name: Install Claude Code CLI | |
| run: curl -fsSL https://claude.ai/install.sh | bash | |
| - name: Install uv | |
| uses: astral-sh/setup-uv@v4 | |
| - name: Set up Python ${{ matrix.python-version }} | |
| run: uv python install ${{ matrix.python-version }} | |
| - name: Run tests | |
| run: make test | |
| docker: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - name: Smoke-test image | |
| run: make docker-test | |
| - name: Test skill discovery | |
| run: make docker-test-skills | |
| plugin-install: | |
| # Verify `npx plugins add` installs the plugins into Claude Code and Codex. | |
| # No API auth required — only checks the installed files land correctly. | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - uses: actions/setup-node@v4 | |
| with: | |
| node-version: "20" | |
| - name: Install Claude Code CLI | |
| run: | | |
| curl -fsSL https://claude.ai/install.sh | bash | |
| echo "$HOME/.local/bin" >> "$GITHUB_PATH" | |
| - name: Install Codex CLI | |
| run: npm install -g @openai/codex | |
| - name: Verify install into Claude Code | |
| run: bash scripts/verify-plugin-install.sh claude-code | |
| - name: Verify install into Codex | |
| run: bash scripts/verify-plugin-install.sh codex |