skills: install grill-me for both CLIs, pinned to a reviewed ref (#30) #65
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': | |
| 'pull_request': | |
| 'push': | |
| 'branches': | |
| - 'main' | |
| 'workflow_dispatch': | |
| 'permissions': | |
| 'contents': 'read' | |
| 'jobs': | |
| 'python': | |
| 'name': 'Python Lint / Typecheck / Tests' | |
| 'runs-on': 'ubuntu-latest' | |
| 'steps': | |
| - 'uses': 'actions/checkout@v6' | |
| - 'uses': 'astral-sh/setup-uv@v8.2.0' | |
| - 'run': 'uv sync --frozen' | |
| - 'run': 'uv run ruff check .' | |
| - 'run': 'uv run mypy' | |
| - 'run': 'uv run pytest' | |
| 'runtime-package': | |
| 'name': 'Runtime Package Contract' | |
| 'runs-on': 'ubuntu-latest' | |
| 'steps': | |
| - 'uses': 'actions/checkout@v6' | |
| - 'uses': 'astral-sh/setup-uv@v8.2.0' | |
| - 'run': 'uv sync --frozen' | |
| - 'run': 'uv run python render-agent-kit.py --check' | |
| - 'run': 'uv run python render-agent-kit.py --doctor' | |
| - 'run': 'scripts/build-runtime-package.sh v0.0.0-ci dist' | |
| - 'run': 'tar -tzf dist/agent-kit-runtime-home-v0.0.0-ci.tar.gz >/dev/null' | |
| 'node': | |
| 'name': 'Node CI' | |
| 'runs-on': 'ubuntu-latest' | |
| 'steps': | |
| - 'uses': 'actions/checkout@v6' | |
| - 'uses': 'actions/setup-node@v6' | |
| 'with': | |
| 'node-version': '22' | |
| 'cache': 'npm' | |
| 'cache-dependency-path': 'council/ts/package-lock.json' | |
| - 'run': 'cd council/ts && npm ci && npm run build && npm test' | |
| 'workflow-lint': | |
| 'name': 'Workflow Lint' | |
| 'runs-on': 'ubuntu-latest' | |
| 'steps': | |
| - 'uses': 'actions/checkout@v6' | |
| - 'id': 'actionlint' | |
| 'shell': 'bash' | |
| 'run': 'bash <(curl --fail --silent --show-error --location https://raw.githubusercontent.com/rhysd/actionlint/main/scripts/download-actionlint.bash)' | |
| - 'run': '"${{ steps.actionlint.outputs.executable }}" -color .github/workflows/*.yml' | |
| 'shell-lint': | |
| 'name': 'Shell Lint' | |
| 'runs-on': 'ubuntu-latest' | |
| 'steps': | |
| - 'uses': 'actions/checkout@v6' | |
| - 'name': 'Install shellcheck' | |
| 'run': 'sudo apt-get update && sudo apt-get install -y shellcheck' | |
| - 'name': 'Lint repo-owned shell scripts' | |
| 'shell': 'bash' | |
| 'run': | | |
| set -euo pipefail | |
| shopt -s nullglob | |
| repo_shell_scripts=(scripts/*.sh) | |
| if [ -f build-runtime-package.sh ]; then | |
| repo_shell_scripts+=(build-runtime-package.sh) | |
| fi | |
| if [ "${#repo_shell_scripts[@]}" -eq 0 ]; then | |
| echo "No repo-owned shell scripts found" >&2 | |
| exit 1 | |
| fi | |
| bash -n "${repo_shell_scripts[@]}" | |
| shellcheck "${repo_shell_scripts[@]}" | |
| 'pipeline-complete': | |
| 'name': 'Pipeline Complete' | |
| 'if': 'always()' | |
| 'needs': | |
| - 'node' | |
| - 'python' | |
| - 'runtime-package' | |
| - 'shell-lint' | |
| - 'workflow-lint' | |
| 'runs-on': 'ubuntu-latest' | |
| 'steps': | |
| - 'uses': 're-actors/alls-green@release/v1' | |
| 'with': | |
| 'jobs': '${{ toJSON(needs) }}' |