From df1bd0709e73e07cea678ce364beca8b4e3b0ffc Mon Sep 17 00:00:00 2001 From: Konstantin Malanchev Date: Wed, 2 Sep 2026 09:24:09 -0400 Subject: [PATCH] bump GH action versions --- .github/workflows/add-issue-to-project.yml | 2 +- .github/workflows/pre-commit-ci.yml | 6 +++--- .github/workflows/smoke-test.yml | 8 ++++---- .github/workflows/testing-and-coverage.yml | 6 +++--- .../.github/workflows/pre-commit-ci.yml.jinja | 6 +++--- .../.github/workflows/publish-to-pypi.yml.jinja | 4 ++-- .../.github/workflows/smoke-test.yml.jinja | 10 +++++----- .../.github/workflows/testing-and-coverage.yml.jinja | 12 ++++++------ ...nclude_benchmarks %}asv-main.yml{% endif %}.jinja | 4 ++-- ...ude_benchmarks %}asv-nightly.yml{% endif %}.jinja | 8 ++++---- ... include_benchmarks %}asv-pr.yml{% endif %}.jinja | 6 +++--- ...arks %}publish-benchmarks-pr.yml{% endif %}.jinja | 2 +- ...e_docs %}build-documentation.yml{% endif %}.jinja | 6 +++--- 13 files changed, 40 insertions(+), 40 deletions(-) diff --git a/.github/workflows/add-issue-to-project.yml b/.github/workflows/add-issue-to-project.yml index 3715add..b0a7501 100644 --- a/.github/workflows/add-issue-to-project.yml +++ b/.github/workflows/add-issue-to-project.yml @@ -10,7 +10,7 @@ jobs: name: Add issue to project runs-on: ubuntu-latest steps: - - uses: actions/add-to-project@v2.0.0 # Still using Node 16 + - uses: actions/add-to-project@v2.0.0 with: # You can target a repository in a different organization # to the issue diff --git a/.github/workflows/pre-commit-ci.yml b/.github/workflows/pre-commit-ci.yml index 392feed..3a5c727 100644 --- a/.github/workflows/pre-commit-ci.yml +++ b/.github/workflows/pre-commit-ci.yml @@ -14,15 +14,15 @@ jobs: pre-commit-ci: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v6 + - uses: actions/checkout@v7 with: fetch-depth: 0 - name: Set up Python - uses: actions/setup-python@v6 + uses: actions/setup-python@v7 with: python-version: '3.11' - name: Install uv - uses: astral-sh/setup-uv@v7 + uses: astral-sh/setup-uv@v10.0.1 - name: Install dependencies run: | sudo apt-get update diff --git a/.github/workflows/smoke-test.yml b/.github/workflows/smoke-test.yml index 3184b79..43e5b49 100644 --- a/.github/workflows/smoke-test.yml +++ b/.github/workflows/smoke-test.yml @@ -23,13 +23,13 @@ jobs: python-version: ['3.9', '3.10', '3.11', '3.12', '3.13', '3.14'] steps: - - uses: actions/checkout@v6 + - uses: actions/checkout@v7 - name: Set up Python ${{ matrix.python-version }} - uses: actions/setup-python@v6 + uses: actions/setup-python@v7 with: python-version: ${{ matrix.python-version }} - name: Install uv - uses: astral-sh/setup-uv@v7 + uses: astral-sh/setup-uv@v10.0.1 - name: Install dependencies run: | sudo apt-get update @@ -45,7 +45,7 @@ jobs: - name: Send status to Slack app if: ${{ failure() && github.event_name != 'workflow_dispatch' }} id: slack - uses: slackapi/slack-github-action@v3 + uses: slackapi/slack-github-action@v4 with: webhook: ${{ secrets.SLACK_WEBHOOK_URL }} webhook-type: webhook-trigger diff --git a/.github/workflows/testing-and-coverage.yml b/.github/workflows/testing-and-coverage.yml index a3672d9..dcf1ae8 100644 --- a/.github/workflows/testing-and-coverage.yml +++ b/.github/workflows/testing-and-coverage.yml @@ -19,15 +19,15 @@ jobs: python-version: ['3.9', '3.10', '3.11', '3.12', '3.13', '3.14'] steps: - - uses: actions/checkout@v6 + - uses: actions/checkout@v7 with: fetch-depth: 0 - name: Set up Python ${{ matrix.python-version }} - uses: actions/setup-python@v6 + uses: actions/setup-python@v7 with: python-version: ${{ matrix.python-version }} - name: Install uv - uses: astral-sh/setup-uv@v7 + uses: astral-sh/setup-uv@v10.0.1 - name: Install dependencies run: | sudo apt-get update diff --git a/python-project-template/.github/workflows/pre-commit-ci.yml.jinja b/python-project-template/.github/workflows/pre-commit-ci.yml.jinja index 44037b9..519113e 100644 --- a/python-project-template/.github/workflows/pre-commit-ci.yml.jinja +++ b/python-project-template/.github/workflows/pre-commit-ci.yml.jinja @@ -14,15 +14,15 @@ jobs: pre-commit-ci: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v6 + - uses: actions/checkout@v7 with: fetch-depth: 0 - name: Set up Python - uses: actions/setup-python@v6 + uses: actions/setup-python@v7 with: python-version: '{{ py.pref(python_versions) }}' - name: Install uv - uses: astral-sh/setup-uv@v7 + uses: astral-sh/setup-uv@v10.0.1 - name: Install dependencies run: | sudo apt-get update diff --git a/python-project-template/.github/workflows/publish-to-pypi.yml.jinja b/python-project-template/.github/workflows/publish-to-pypi.yml.jinja index c82551f..33182c7 100644 --- a/python-project-template/.github/workflows/publish-to-pypi.yml.jinja +++ b/python-project-template/.github/workflows/publish-to-pypi.yml.jinja @@ -23,9 +23,9 @@ jobs: permissions: id-token: write steps: - - uses: actions/checkout@v6 + - uses: actions/checkout@v7 - name: Set up Python - uses: actions/setup-python@v6 + uses: actions/setup-python@v7 with: python-version: '{{ py.pref(python_versions) }}' - name: Install dependencies diff --git a/python-project-template/.github/workflows/smoke-test.yml.jinja b/python-project-template/.github/workflows/smoke-test.yml.jinja index 2abad9f..2f7f17d 100644 --- a/python-project-template/.github/workflows/smoke-test.yml.jinja +++ b/python-project-template/.github/workflows/smoke-test.yml.jinja @@ -23,13 +23,13 @@ jobs: python-version: {{ python_versions }} steps: - - uses: actions/checkout@v6 + - uses: actions/checkout@v7 - name: Set up Python {% raw %}${{ matrix.python-version }}{% endraw %} - uses: actions/setup-python@v6 + uses: actions/setup-python@v7 with: python-version: {% raw %}${{ matrix.python-version }}{% endraw %} - name: Install uv - uses: astral-sh/setup-uv@v7 + uses: astral-sh/setup-uv@v10.0.1 - name: Install dependencies run: | sudo apt-get update @@ -44,7 +44,7 @@ jobs: {%- if 'email' in failure_notification %} - name: Send status to author's email if: {% raw %}${{ failure() }} && github.event_name != 'workflow_dispatch' }}{% endraw %} # Only email if the workflow failed and was not manually started. Customize this as necessary. - uses: dawidd6/action-send-mail@v3 + uses: dawidd6/action-send-mail@v18 with: # Required mail server address if not connection_url: server_address: smtp.gmail.com @@ -81,7 +81,7 @@ jobs: - name: Send status to Slack app if: ${{ failure() && github.event_name != 'workflow_dispatch' }} id: slack - uses: slackapi/slack-github-action@v2 + uses: slackapi/slack-github-action@v4 with: # For posting a rich message using Block Kit webhook: ${{ secrets.SLACK_WEBHOOK_URL }} diff --git a/python-project-template/.github/workflows/testing-and-coverage.yml.jinja b/python-project-template/.github/workflows/testing-and-coverage.yml.jinja index 0e7c9f3..fa62317 100644 --- a/python-project-template/.github/workflows/testing-and-coverage.yml.jinja +++ b/python-project-template/.github/workflows/testing-and-coverage.yml.jinja @@ -19,13 +19,13 @@ jobs: python-version: {{ python_versions }} steps: - - uses: actions/checkout@v6 + - uses: actions/checkout@v7 - name: Set up Python {% raw %}${{ matrix.python-version }}{% endraw %} - uses: actions/setup-python@v6 + uses: actions/setup-python@v7 with: python-version: {% raw %}${{ matrix.python-version }}{% endraw %} - name: Install uv - uses: astral-sh/setup-uv@v7 + uses: astral-sh/setup-uv@v10.0.1 - name: Install dependencies run: | sudo apt-get update @@ -35,16 +35,16 @@ jobs: run: | python -m pytest --cov={{package_name}} --cov-report=xml - name: Upload coverage report to codecov - uses: codecov/codecov-action@v5 + uses: codecov/codecov-action@v7 with: token: {% raw %}${{ secrets.CODECOV_TOKEN }}{% endraw %} {%- if test_lowest_version != 'none' %} test-lowest-versions: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v6 + - uses: actions/checkout@v7 - name: Set up Python {{ py.min(python_versions) }} - uses: actions/setup-python@v6 + uses: actions/setup-python@v7 with: python-version: '{{ py.min(python_versions) }}' - name: Install dependencies diff --git a/python-project-template/.github/workflows/{% if include_benchmarks %}asv-main.yml{% endif %}.jinja b/python-project-template/.github/workflows/{% if include_benchmarks %}asv-main.yml{% endif %}.jinja index 8ec60be..26e5621 100644 --- a/python-project-template/.github/workflows/{% if include_benchmarks %}asv-main.yml{% endif %}.jinja +++ b/python-project-template/.github/workflows/{% if include_benchmarks %}asv-main.yml{% endif %}.jinja @@ -30,11 +30,11 @@ jobs: working-directory: ${{env.WORKING_DIR}} steps: - name: Set up Python ${{env.PYTHON_VERSION}} - uses: actions/setup-python@v6 + uses: actions/setup-python@v7 with: python-version: ${{env.PYTHON_VERSION}} - name: Checkout main branch of the repository - uses: actions/checkout@v6 + uses: actions/checkout@v7 with: fetch-depth: 0 - name: Install dependencies diff --git a/python-project-template/.github/workflows/{% if include_benchmarks %}asv-nightly.yml{% endif %}.jinja b/python-project-template/.github/workflows/{% if include_benchmarks %}asv-nightly.yml{% endif %}.jinja index c8976f0..5bd531b 100644 --- a/python-project-template/.github/workflows/{% if include_benchmarks %}asv-nightly.yml{% endif %}.jinja +++ b/python-project-template/.github/workflows/{% if include_benchmarks %}asv-nightly.yml{% endif %}.jinja @@ -26,11 +26,11 @@ jobs: working-directory: ${{env.WORKING_DIR}} steps: - name: Set up Python ${{env.PYTHON_VERSION}} - uses: actions/setup-python@v6 + uses: actions/setup-python@v7 with: python-version: ${{env.PYTHON_VERSION}} - name: Checkout main branch of the repository - uses: actions/checkout@v6 + uses: actions/checkout@v7 with: fetch-depth: 0 - name: Install dependencies @@ -55,7 +55,7 @@ jobs: echo "yesterday=$(date -d yesterday +'%Y-%m-%d')" >> $GITHUB_OUTPUT echo "today=$(date +'%Y-%m-%d')" >> $GITHUB_OUTPUT - name: Use last nightly commit hash from cache - uses: actions/cache@v5 + uses: actions/cache@v6 with: path: ${{env.WORKING_DIR}} key: nightly-results-${{steps.nightly-dates.outputs.yesterday}} @@ -70,7 +70,7 @@ jobs: fi echo $CURRENT_HASH > $HASH_FILE - name: Update last nightly hash in cache - uses: actions/cache@v5 + uses: actions/cache@v6 with: path: ${{env.WORKING_DIR}} key: nightly-results-${{steps.nightly-dates.outputs.today}} diff --git a/python-project-template/.github/workflows/{% if include_benchmarks %}asv-pr.yml{% endif %}.jinja b/python-project-template/.github/workflows/{% if include_benchmarks %}asv-pr.yml{% endif %}.jinja index b8c40d2..d8d9d62 100644 --- a/python-project-template/.github/workflows/{% if include_benchmarks %}asv-pr.yml{% endif %}.jinja +++ b/python-project-template/.github/workflows/{% if include_benchmarks %}asv-pr.yml{% endif %}.jinja @@ -32,11 +32,11 @@ jobs: working-directory: ${{env.WORKING_DIR}} steps: - name: Set up Python ${{env.PYTHON_VERSION}} - uses: actions/setup-python@v6 + uses: actions/setup-python@v7 with: python-version: ${{env.PYTHON_VERSION}} - name: Checkout PR branch of the repository - uses: actions/checkout@v6 + uses: actions/checkout@v7 with: fetch-depth: 0 - name: Display Workflow Run Information @@ -68,7 +68,7 @@ jobs: env: STEP_URL: ${{steps.jobs.outputs.html_url}}#step:10:1 - name: Upload artifacts (PR number and benchmarks output) - uses: actions/upload-artifact@v6 + uses: actions/upload-artifact@v7 with: name: benchmark-artifacts path: ${{env.ARTIFACTS_DIR}} diff --git a/python-project-template/.github/workflows/{% if include_benchmarks %}publish-benchmarks-pr.yml{% endif %}.jinja b/python-project-template/.github/workflows/{% if include_benchmarks %}publish-benchmarks-pr.yml{% endif %}.jinja index dc7eb58..71d970f 100644 --- a/python-project-template/.github/workflows/{% if include_benchmarks %}publish-benchmarks-pr.yml{% endif %}.jinja +++ b/python-project-template/.github/workflows/{% if include_benchmarks %}publish-benchmarks-pr.yml{% endif %}.jinja @@ -28,7 +28,7 @@ jobs: echo "Conclusion: ${{ github.event.workflow_run.conclusion }}" echo "Event: ${{ github.event.workflow_run.event }}" - name: Download artifact - uses: dawidd6/action-download-artifact@v14 + uses: dawidd6/action-download-artifact@v24 with: name: benchmark-artifacts run_id: ${{ github.event.workflow_run.id }} diff --git a/python-project-template/.github/workflows/{% if include_docs %}build-documentation.yml{% endif %}.jinja b/python-project-template/.github/workflows/{% if include_docs %}build-documentation.yml{% endif %}.jinja index 9affe9f..3f0c5d4 100644 --- a/python-project-template/.github/workflows/{% if include_docs %}build-documentation.yml{% endif %}.jinja +++ b/python-project-template/.github/workflows/{% if include_docs %}build-documentation.yml{% endif %}.jinja @@ -20,13 +20,13 @@ jobs: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v6 + - uses: actions/checkout@v7 - name: Set up Python {{ py.pref(python_versions) }} - uses: actions/setup-python@v6 + uses: actions/setup-python@v7 with: python-version: '{{ py.pref(python_versions) }}' - name: Install uv - uses: astral-sh/setup-uv@v7 + uses: astral-sh/setup-uv@v10.0.1 - name: Install dependencies run: | sudo apt-get update