Skip to content

Commit 7056bdf

Browse files
committed
Upgrade action versions
1 parent aea85ec commit 7056bdf

9 files changed

+15
-15
lines changed

python-project-template/.github/workflows/pre-commit-ci.yml.jinja

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,15 +14,15 @@ jobs:
1414
pre-commit-ci:
1515
runs-on: ubuntu-latest
1616
steps:
17-
- uses: actions/checkout@v4
17+
- uses: actions/checkout@v6
1818
with:
1919
fetch-depth: 0
2020
- name: Set up Python
2121
uses: actions/setup-python@v5
2222
with:
2323
python-version: '{{ py.pref(python_versions) }}'
2424
- name: Install uv
25-
uses: astral-sh/setup-uv@v5
25+
uses: astral-sh/setup-uv@v7
2626
- name: Install dependencies
2727
run: |
2828
sudo apt-get update

python-project-template/.github/workflows/publish-to-pypi.yml.jinja

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ jobs:
2323
permissions:
2424
id-token: write
2525
steps:
26-
- uses: actions/checkout@v4
26+
- uses: actions/checkout@v6
2727
- name: Set up Python
2828
uses: actions/setup-python@v5
2929
with:

python-project-template/.github/workflows/smoke-test.yml.jinja

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ jobs:
2323
python-version: {{ python_versions }}
2424

2525
steps:
26-
- uses: actions/checkout@v4
26+
- uses: actions/checkout@v6
2727
- name: Set up Python {% raw %}${{ matrix.python-version }}{% endraw %}
2828
uses: actions/setup-python@v5
2929
with:

python-project-template/.github/workflows/testing-and-coverage.yml.jinja

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -19,13 +19,13 @@ jobs:
1919
python-version: {{ python_versions }}
2020

2121
steps:
22-
- uses: actions/checkout@v4
22+
- uses: actions/checkout@v6
2323
- name: Set up Python {% raw %}${{ matrix.python-version }}{% endraw %}
2424
uses: actions/setup-python@v5
2525
with:
2626
python-version: {% raw %}${{ matrix.python-version }}{% endraw %}
2727
- name: Install uv
28-
uses: astral-sh/setup-uv@v5
28+
uses: astral-sh/setup-uv@v7
2929
- name: Install dependencies
3030
run: |
3131
sudo apt-get update
@@ -42,7 +42,7 @@ jobs:
4242
test-lowest-versions:
4343
runs-on: ubuntu-latest
4444
steps:
45-
- uses: actions/checkout@v4
45+
- uses: actions/checkout@v6
4646
- name: Set up Python {{ py.min(python_versions) }}
4747
uses: actions/setup-python@v5
4848
with:

python-project-template/.github/workflows/{% if include_benchmarks %}asv-main.yml{% endif %}.jinja

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ jobs:
3434
with:
3535
python-version: ${{env.PYTHON_VERSION}}
3636
- name: Checkout main branch of the repository
37-
uses: actions/checkout@v4
37+
uses: actions/checkout@v6
3838
with:
3939
fetch-depth: 0
4040
- name: Install dependencies

python-project-template/.github/workflows/{% if include_benchmarks %}asv-nightly.yml{% endif %}.jinja

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ jobs:
3030
with:
3131
python-version: ${{env.PYTHON_VERSION}}
3232
- name: Checkout main branch of the repository
33-
uses: actions/checkout@v4
33+
uses: actions/checkout@v6
3434
with:
3535
fetch-depth: 0
3636
- name: Install dependencies
@@ -55,7 +55,7 @@ jobs:
5555
echo "yesterday=$(date -d yesterday +'%Y-%m-%d')" >> $GITHUB_OUTPUT
5656
echo "today=$(date +'%Y-%m-%d')" >> $GITHUB_OUTPUT
5757
- name: Use last nightly commit hash from cache
58-
uses: actions/cache@v4
58+
uses: actions/cache@v5
5959
with:
6060
path: ${{env.WORKING_DIR}}
6161
key: nightly-results-${{steps.nightly-dates.outputs.yesterday}}
@@ -70,7 +70,7 @@ jobs:
7070
fi
7171
echo $CURRENT_HASH > $HASH_FILE
7272
- name: Update last nightly hash in cache
73-
uses: actions/cache@v4
73+
uses: actions/cache@v5
7474
with:
7575
path: ${{env.WORKING_DIR}}
7676
key: nightly-results-${{steps.nightly-dates.outputs.today}}

python-project-template/.github/workflows/{% if include_benchmarks %}asv-pr.yml{% endif %}.jinja

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ jobs:
3636
with:
3737
python-version: ${{env.PYTHON_VERSION}}
3838
- name: Checkout PR branch of the repository
39-
uses: actions/checkout@v4
39+
uses: actions/checkout@v6
4040
with:
4141
fetch-depth: 0
4242
- name: Display Workflow Run Information
@@ -68,7 +68,7 @@ jobs:
6868
env:
6969
STEP_URL: ${{steps.jobs.outputs.html_url}}#step:10:1
7070
- name: Upload artifacts (PR number and benchmarks output)
71-
uses: actions/upload-artifact@v4
71+
uses: actions/upload-artifact@v6
7272
with:
7373
name: benchmark-artifacts
7474
path: ${{env.ARTIFACTS_DIR}}

python-project-template/.github/workflows/{% if include_benchmarks %}publish-benchmarks-pr.yml{% endif %}.jinja

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ jobs:
2828
echo "Conclusion: ${{ github.event.workflow_run.conclusion }}"
2929
echo "Event: ${{ github.event.workflow_run.event }}"
3030
- name: Download artifact
31-
uses: dawidd6/action-download-artifact@v7
31+
uses: dawidd6/action-download-artifact@v12
3232
with:
3333
name: benchmark-artifacts
3434
run_id: ${{ github.event.workflow_run.id }}

python-project-template/.github/workflows/{% if include_docs %}build-documentation.yml{% endif %}.jinja

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ jobs:
2020
runs-on: ubuntu-latest
2121

2222
steps:
23-
- uses: actions/checkout@v4
23+
- uses: actions/checkout@v6
2424
- name: Set up Python {{ py.pref(python_versions) }}
2525
uses: actions/setup-python@v5
2626
with:

0 commit comments

Comments
 (0)