chore(deps): bump astral-sh/setup-uv from 7.1.0 to 7.1.1 #41
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: Claude Code / Interactive | |
| on: | |
| issue_comment: | |
| types: [created] | |
| pull_request_review_comment: | |
| types: [created] | |
| issues: | |
| types: [opened, assigned, labeled] | |
| pull_request: | |
| types: [opened, assigned, labeled] | |
| pull_request_review: | |
| types: [submitted] | |
| jobs: | |
| claude: | |
| if: | | |
| (github.event_name == 'issue_comment' && contains(github.event.comment.body, '@claude')) || | |
| (github.event_name == 'pull_request_review_comment' && contains(github.event.comment.body, '@claude')) || | |
| (github.event_name == 'pull_request_review' && contains(github.event.review.body, '@claude')) || | |
| (github.event_name == 'issues' && (contains(github.event.issue.body, '@claude') || contains(github.event.issue.title, '@claude') || (github.event.action == 'labeled' && github.event.label.name == 'claude'))) || | |
| (github.event_name == 'pull_request' && (contains(github.event.pull_request.body, '@claude') || contains(github.event.pull_request.title, '@claude') || (github.event.action == 'labeled' && github.event.label.name == 'claude'))) | |
| runs-on: ubuntu-latest | |
| permissions: | |
| contents: write | |
| pull-requests: write | |
| issues: write | |
| id-token: write | |
| actions: read # Required for Claude to read CI results on PRs | |
| steps: | |
| - name: Checkout repository | |
| uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0 | |
| with: | |
| fetch-depth: 0 | |
| - name: Install uv | |
| uses: astral-sh/setup-uv@2ddd2b9cb38ad8efd50337e8ab201519a34c9f24 # v7.1.1 | |
| with: | |
| version-file: "pyproject.toml" | |
| enable-cache: true | |
| cache-dependency-glob: uv.lock | |
| - name: Install dev tools | |
| if: ${{ matrix.runner == 'ubuntu-latest' || matrix.runner == 'ubuntu-24.04-arm' }} | |
| shell: bash | |
| run: .github/workflows/_install_dev_tools.bash | |
| - name: Install Python, venv and dependencies | |
| shell: bash | |
| run: uv sync --all-extras --frozen --link-mode=copy | |
| - name: Setup display | |
| uses: pyvista/setup-headless-display-action@7d84ae825e6d9297a8e99bdbbae20d1b919a0b19 # v4.2 | |
| - name: Create .env file | |
| uses: SpicyPizza/create-envfile@ace6d4f5d7802b600276c23ca417e669f1a06f6f # v2.0.3 | |
| with: | |
| envkey_AIGNOSTICS_CLIENT_ID_DEVICE: ${{ secrets.AIGNOSTICS_CLIENT_ID_DEVICE }} | |
| envkey_AIGNOSTICS_REFRESH_TOKEN: ${{ secrets.AIGNOSTICS_REFRESH_TOKEN }} | |
| fail_on_empty: false | |
| - name: Set up GCP credentials for bucket access | |
| shell: bash | |
| env: | |
| GCP_CREDENTIALS: ${{ secrets.GCP_CREDENTIALS }} | |
| run: | | |
| echo "$GCP_CREDENTIALS" | base64 -d > credentials.json | |
| echo "GOOGLE_APPLICATION_CREDENTIALS=$(pwd)/credentials.json" >> $GITHUB_ENV | |
| - name: Print development version info | |
| if: ${{ !startsWith(github.ref, 'refs/tags/v') }} | |
| shell: bash | |
| run: | | |
| TOML_VERSION=$(uv run python -c "import tomli; print(tomli.load(open('pyproject.toml', 'rb'))['project']['version'])") | |
| echo "Development build - Current version in pyproject.toml: $TOML_VERSION" | |
| - name: Run Claude Code / Interactive | |
| id: claude-code-interactive | |
| uses: anthropics/claude-code-action@v1 | |
| with: | |
| anthropic_api_key: ${{ secrets.ANTHROPIC_API_KEY }} | |
| track_progress: true | |
| additional_permissions: | | |
| actions: read | |
| allowed_bots: "dependabot[bot],renovate[bot]" | |
| claude_args: >- | |
| --max-turns 200 | |
| --model claude-sonnet-4-5-20250929 | |
| --allowed-tools "mcp__github_inline_comment__create_inline_comment,Read,Write,Edit,MultiEdit,Glob,Grep,LS,WebFetch,WebSearch,Bash(git:*),Bash(bun:*),Bash(npm:*),Bash(npx:*),Bash(gh:*),Bash(uv:*),Bash(make:*),Bash(export:*)" | |
| --system-prompt "Enable the contributor given their ask while insisting on highest standards: | |
| * Use the repository's CLAUDE.md and recursively referenced documents therein for guidance on style and conventions. | |
| * In case of doubt apply best practices of enterprise grade software engineering. | |
| * Raise the bar on engineering and operational excellence in this repository. | |
| * Do web research on any libraries, frameworks, principles or tools you are not familiar with. | |
| To execute and verify the code you wrote, note the following: | |
| * uv, python and further development dependencies are already installed. | |
| * Use `uv sync --all-extras` to install any missing dependencies for your branch. | |
| * Use 'uv run pytest ...' to run tests. | |
| * Use 'uv run aignostics ...' to run the CLI and commands. | |
| * Use `make lint` to check code style and types. | |
| On completion of your code it is a strict requirement and must have to validate thoroughly: | |
| * Run the full unit, integration and e2e test suite by executing `make test_unit`, `make test_integration` and `make test_e2e`. | |
| * If you introduced or updated dependencies, you must run `make audit` to ensure compliance. | |
| " | |
| # See https://github.com/anthropics/claude-code-action/blob/main/docs/usage.md | |
| # or https://docs.claude.com/en/docs/claude-code/sdk#command-line for available options |