From 1cda9d2bc9eaf3a9beebc8a8f3c29c1443795131 Mon Sep 17 00:00:00 2001 From: Claude Date: Wed, 8 Apr 2026 18:01:50 +0000 Subject: [PATCH] Update GitHub Actions: build-and-inspect-python-package, black, ruff-action - hynek/build-and-inspect-python-package: e6f4945 -> fe0a0fb (v2) - psf/black: 35ea679 -> c6755bb (stable) - astral-sh/ruff-action: 146cd51 -> 4919ec5 (v3) https://claude.ai/code/session_015PmZAbyXBkLPktTXGMx5BX --- project_name/.github/workflows/ci.yml.jinja | 6 +++--- .../{% if in_pypi %}build-and-publish.yml{% endif %}.jinja | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/project_name/.github/workflows/ci.yml.jinja b/project_name/.github/workflows/ci.yml.jinja index 2b8c5d9..e92d264 100644 --- a/project_name/.github/workflows/ci.yml.jinja +++ b/project_name/.github/workflows/ci.yml.jinja @@ -28,12 +28,12 @@ jobs: with: persist-credentials: false {%- if format_tool == "black" %} - - uses: psf/black@35ea67920b7f6ac8e09be1c47278752b1e827f76 # stable + - uses: psf/black@c6755bb741b6481d6b3d3bb563c83fa060db96c9 # stable with: jupyter: {{ "true" if contains_jupyter_files else "false" }} use_pyproject: true {%- elif format_tool == "ruff" %} - - uses: astral-sh/ruff-action@146cd51f235777a9bc491eead18e0d5a4b05406a # v3 + - uses: astral-sh/ruff-action@4919ec5cf1f49eff0871dbcea0da843445b837e6 # v3 with: args: format --check {%- endif %} @@ -44,7 +44,7 @@ jobs: - uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6 with: persist-credentials: false - - uses: astral-sh/ruff-action@146cd51f235777a9bc491eead18e0d5a4b05406a # v3 + - uses: astral-sh/ruff-action@4919ec5cf1f49eff0871dbcea0da843445b837e6 # v3 pre-commit: env: diff --git a/project_name/.github/workflows/{% if in_pypi %}build-and-publish.yml{% endif %}.jinja b/project_name/.github/workflows/{% if in_pypi %}build-and-publish.yml{% endif %}.jinja index 8a009df..074e1a8 100644 --- a/project_name/.github/workflows/{% if in_pypi %}build-and-publish.yml{% endif %}.jinja +++ b/project_name/.github/workflows/{% if in_pypi %}build-and-publish.yml{% endif %}.jinja @@ -33,7 +33,7 @@ jobs: - uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6 with: persist-credentials: false - - uses: hynek/build-and-inspect-python-package@e6f4945c542cb46284a23bdb29121f4593636894 # v2 + - uses: hynek/build-and-inspect-python-package@fe0a0fb1925ca263d076ca4f2c13e93a6e92a33e # v2 publish-to-testpypi: if: github.event_name == 'push'