Skip to content

Commit 12eb60b

Browse files
committed
Upgrade GitHub actions
1 parent e77eb97 commit 12eb60b

4 files changed

Lines changed: 25 additions & 25 deletions

File tree

.github/workflows/changelog_reminder.yaml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -13,24 +13,24 @@ jobs:
1313
contents: read
1414
runs-on: ubuntu-latest
1515
steps:
16-
- uses: actions/checkout@v5
16+
- uses: actions/checkout@v6
1717

1818
- name: Get all updated Python files
1919
id: changed-python-files
20-
uses: tj-actions/changed-files@v46
20+
uses: tj-actions/changed-files@v47
2121
with:
2222
files: |
2323
**.py
2424
2525
- name: Check for the changelog update
2626
id: changelog-update
27-
uses: tj-actions/changed-files@v46
27+
uses: tj-actions/changed-files@v47
2828
with:
2929
files: docs/changelog.rst
3030

3131
- name: Comment under the PR with a reminder
3232
if: steps.changed-python-files.outputs.any_changed == 'true' && steps.changelog-update.outputs.any_changed == 'false'
33-
uses: thollander/actions-comment-pull-request@v2
33+
uses: thollander/actions-comment-pull-request@v3
3434
with:
3535
message: 'Thank you for the PR! The changelog has not been updated, so here is a friendly reminder to check if you need to add an entry.'
3636
GITHUB_TOKEN: '${{ secrets.GITHUB_TOKEN }}'

.github/workflows/lint.yaml

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -24,16 +24,16 @@ jobs:
2424
changed_doc_files: ${{ steps.changed-doc-files.outputs.all_changed_files }}
2525
changed_python_files: ${{ steps.changed-python-files.outputs.all_changed_files }}
2626
steps:
27-
- uses: actions/checkout@v5
27+
- uses: actions/checkout@v6
2828
- name: Get changed docs files
2929
id: changed-doc-files
30-
uses: tj-actions/changed-files@v46
30+
uses: tj-actions/changed-files@v47
3131
with:
3232
files: |
3333
docs/**
3434
- name: Get changed python files
3535
id: raw-changed-python-files
36-
uses: tj-actions/changed-files@v46
36+
uses: tj-actions/changed-files@v47
3737
with:
3838
files: |
3939
**.py
@@ -56,9 +56,9 @@ jobs:
5656
name: Check formatting
5757
needs: changed-files
5858
steps:
59-
- uses: actions/checkout@v5
59+
- uses: actions/checkout@v6
6060
- name: Install Python tools
61-
uses: BrandonLWhite/pipx-install-action@v1.0.3
61+
uses: BrandonLWhite/pipx-install-action@v2.0.0
6262
- uses: actions/setup-python@v6
6363
with:
6464
python-version: ${{ env.PYTHON_VERSION }}
@@ -77,9 +77,9 @@ jobs:
7777
name: Check linting
7878
needs: changed-files
7979
steps:
80-
- uses: actions/checkout@v5
80+
- uses: actions/checkout@v6
8181
- name: Install Python tools
82-
uses: BrandonLWhite/pipx-install-action@v1.0.3
82+
uses: BrandonLWhite/pipx-install-action@v2.0.0
8383
- uses: actions/setup-python@v6
8484
with:
8585
python-version: ${{ env.PYTHON_VERSION }}
@@ -97,9 +97,9 @@ jobs:
9797
name: Check types with mypy
9898
needs: changed-files
9999
steps:
100-
- uses: actions/checkout@v5
100+
- uses: actions/checkout@v6
101101
- name: Install Python tools
102-
uses: BrandonLWhite/pipx-install-action@v1.0.3
102+
uses: BrandonLWhite/pipx-install-action@v2.0.0
103103
- uses: actions/setup-python@v6
104104
with:
105105
python-version: ${{ env.PYTHON_VERSION }}
@@ -120,9 +120,9 @@ jobs:
120120
name: Check docs
121121
needs: changed-files
122122
steps:
123-
- uses: actions/checkout@v5
123+
- uses: actions/checkout@v6
124124
- name: Install Python tools
125-
uses: BrandonLWhite/pipx-install-action@v1.0.3
125+
uses: BrandonLWhite/pipx-install-action@v2.0.0
126126
- uses: actions/setup-python@v6
127127
with:
128128
python-version: ${{ env.PYTHON_VERSION }}

.github/workflows/main.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,9 +17,9 @@ jobs:
1717
python-version: ["3.10", "3.11", "3.12", "3.13", "3.14"]
1818
runs-on: ${{ matrix.platform }}
1919
steps:
20-
- uses: actions/checkout@v5
20+
- uses: actions/checkout@v6
2121
- name: Install Python tools
22-
uses: BrandonLWhite/pipx-install-action@v1.0.3
22+
uses: BrandonLWhite/pipx-install-action@v2.0.0
2323
- name: Setup Python with poetry caching
2424
# poetry cache requires poetry to already be installed, weirdly
2525
uses: actions/setup-python@v6

.github/workflows/make_release.yaml

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -17,10 +17,10 @@ jobs:
1717
name: Bump version, commit and create tag
1818
runs-on: ubuntu-latest
1919
steps:
20-
- uses: actions/checkout@v4
20+
- uses: actions/checkout@v6
2121
- name: Install Python tools
22-
uses: BrandonLWhite/pipx-install-action@v1.0.3
23-
- uses: actions/setup-python@v5
22+
uses: BrandonLWhite/pipx-install-action@v2.0.0
23+
- uses: actions/setup-python@v6
2424
with:
2525
python-version: ${{ env.PYTHON_VERSION }}
2626
cache: poetry
@@ -40,13 +40,13 @@ jobs:
4040
runs-on: ubuntu-latest
4141
needs: increment-version
4242
steps:
43-
- uses: actions/checkout@v4
43+
- uses: actions/checkout@v6
4444
with:
4545
ref: ${{ env.NEW_TAG }}
4646

4747
- name: Install Python tools
48-
uses: BrandonLWhite/pipx-install-action@v1.0.3
49-
- uses: actions/setup-python@v5
48+
uses: BrandonLWhite/pipx-install-action@v2.0.0
49+
- uses: actions/setup-python@v6
5050
with:
5151
python-version: ${{ env.PYTHON_VERSION }}
5252
cache: poetry
@@ -55,7 +55,7 @@ jobs:
5555
run: poetry build
5656

5757
- name: Store the package
58-
uses: actions/upload-artifact@v4
58+
uses: actions/upload-artifact@v6
5959
with:
6060
name: python-package-distributions
6161
path: dist/
@@ -71,7 +71,7 @@ jobs:
7171
id-token: write
7272
steps:
7373
- name: Download all the dists
74-
uses: actions/download-artifact@v4
74+
uses: actions/download-artifact@v7
7575
with:
7676
name: python-package-distributions
7777
path: dist/

0 commit comments

Comments
 (0)