File tree Expand file tree Collapse file tree 9 files changed +27
-27
lines changed
python-project-template/.github/workflows Expand file tree Collapse file tree 9 files changed +27
-27
lines changed Original file line number Diff line number Diff 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
21- uses: actions/setup-python@v5
21+ uses: actions/setup-python@v6
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
Original file line number Diff line number Diff line change 2323 permissions:
2424 id-token: write
2525 steps:
26- - uses: actions/checkout@v4
26+ - uses: actions/checkout@v6
2727 - name: Set up Python
28- uses: actions/setup-python@v5
28+ uses: actions/setup-python@v6
2929 with:
3030 python-version: '{{ py.pref(python_versions) }}'
3131 - name: Install dependencies
Original file line number Diff line number Diff line change @@ -23,13 +23,13 @@ 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 %}
28- uses: actions/setup-python@v5
28+ uses: actions/setup-python@v6
2929 with:
3030 python-version: {% raw %} ${{ matrix.python-version }}{% endraw %}
3131 - name: Install uv
32- uses: astral-sh/setup-uv@v5
32+ uses: astral-sh/setup-uv@v7
3333 - name: Install dependencies
3434 run: |
3535 sudo apt-get update
Original file line number Diff line number Diff 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 %}
24- uses: actions/setup-python@v5
24+ uses: actions/setup-python@v6
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
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) }}
47- uses: actions/setup-python@v5
47+ uses: actions/setup-python@v6
4848 with:
4949 python-version: '{{ py.min(python_versions) }}'
5050 - name: Install dependencies
Original file line number Diff line number Diff line change @@ -30,11 +30,11 @@ jobs:
3030 working-directory: ${{env.WORKING_DIR}}
3131 steps:
3232 - name: Set up Python ${{env.PYTHON_VERSION}}
33- uses: actions/setup-python@v5
33+ uses: actions/setup-python@v6
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
Original file line number Diff line number Diff line change @@ -26,11 +26,11 @@ jobs:
2626 working-directory: ${{env.WORKING_DIR}}
2727 steps:
2828 - name: Set up Python ${{env.PYTHON_VERSION}}
29- uses: actions/setup-python@v5
29+ uses: actions/setup-python@v6
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
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}}
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}}
Original file line number Diff line number Diff line change @@ -32,11 +32,11 @@ jobs:
3232 working-directory: ${{env.WORKING_DIR}}
3333 steps:
3434 - name: Set up Python ${{env.PYTHON_VERSION}}
35- uses: actions/setup-python@v5
35+ uses: actions/setup-python@v6
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
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}}
Original file line number Diff line number Diff line change 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 }}
@@ -39,14 +39,14 @@ jobs:
3939 printf "Output:\n$(cat output)"
4040 printf "pr=$(cat pr)" >> $GITHUB_OUTPUT
4141 - name: Find benchmarks comment
42- uses: peter-evans/find-comment@v3
42+ uses: peter-evans/find-comment@v4
4343 id: find-comment
4444 with:
4545 issue-number: ${{ steps.pr-info.outputs.pr }}
4646 comment-author: 'github-actions[bot]'
4747 body-includes: view all benchmarks
4848 - name: Create or update benchmarks comment
49- uses: peter-evans/create-or-update-comment@v4
49+ uses: peter-evans/create-or-update-comment@v5
5050 with:
5151 comment-id: ${{ steps.find-comment.outputs.comment-id }}
5252 issue-number: ${{ steps.pr-info.outputs.pr }}
Original file line number Diff line number Diff line change 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) }}
25- uses: actions/setup-python@v5
25+ uses: actions/setup-python@v6
2626 with:
2727 python-version: '{{ py.pref(python_versions) }}'
2828 - name: Install uv
You can’t perform that action at this time.
0 commit comments