Skip to content

Commit 6f194cf

Browse files
committed
ci: bump all GitHub Actions to latest major versions
- actions/checkout: v3/v4 → v6 - actions/setup-python: v5 → v6 - actions/upload-artifact: v4 → v7 - actions/download-artifact: v4 → v8 - docker/build-push-action: v4 → v7 - docker/login-action: v2.1.0 → v4 - peter-evans/dockerhub-description: v4 → v5 - sigstore/gh-action-sigstore-python: v3.0.0 → v3.3.0 - pypa/gh-action-pypi-publish: release/v1 (unchanged, already latest)
1 parent 2e2520e commit 6f194cf

3 files changed

Lines changed: 12 additions & 13 deletions

File tree

.github/workflows/docker-push-image.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -10,16 +10,16 @@ jobs:
1010
if: startsWith(github.ref, 'refs/tags/') || github.event_name == 'workflow_dispatch'
1111

1212
steps:
13-
- uses: actions/checkout@v3
13+
- uses: actions/checkout@v6
1414

1515
- name: Log in to Docker Hub
16-
uses: docker/login-action@v2.1.0
16+
uses: docker/login-action@v4
1717
with:
1818
username: ${{ secrets.DOCKER_USERNAME }}
1919
password: ${{ secrets.DOCKER_TOKEN }}
2020

2121
- name: Log in to GitHub Container Registry
22-
uses: docker/login-action@v2.1.0
22+
uses: docker/login-action@v4
2323
with:
2424
registry: ghcr.io
2525
username: ${{ github.repository_owner }}
@@ -37,7 +37,7 @@ jobs:
3737
fi
3838
3939
- name: Build and push Docker image
40-
uses: docker/build-push-action@v4
40+
uses: docker/build-push-action@v7
4141
with:
4242
context: ./docker/
4343
push: true

.github/workflows/docker-readme.yml

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -12,11 +12,10 @@ jobs:
1212
dockerHubDescription:
1313
runs-on: ubuntu-latest
1414
steps:
15-
- uses: actions/checkout@v4
16-
15+
- uses: actions/checkout@v6
1716

1817
- name: Docker Hub Description
19-
uses: peter-evans/dockerhub-description@v4
18+
uses: peter-evans/dockerhub-description@v5
2019
with:
2120
username: ${{ secrets.DOCKER_USERNAME }}
2221
password: ${{ secrets.DOCKER_TOKEN }}

.github/workflows/pypi.yml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -9,9 +9,9 @@ jobs:
99
runs-on: ubuntu-latest
1010

1111
steps:
12-
- uses: actions/checkout@v4
12+
- uses: actions/checkout@v6
1313
- name: Set up Python
14-
uses: actions/setup-python@v5
14+
uses: actions/setup-python@v6
1515
with:
1616
python-version: "3.x"
1717
- name: Install pypa/build
@@ -23,7 +23,7 @@ jobs:
2323
- name: Build a binary wheel and a source tarball
2424
run: python3 -m build
2525
- name: Store the distribution packages
26-
uses: actions/upload-artifact@v4
26+
uses: actions/upload-artifact@v7
2727
with:
2828
name: python-package-distributions
2929
path: dist/
@@ -43,7 +43,7 @@ jobs:
4343

4444
steps:
4545
- name: Download all the dists
46-
uses: actions/download-artifact@v4
46+
uses: actions/download-artifact@v8
4747
with:
4848
name: python-package-distributions
4949
path: dist/
@@ -64,12 +64,12 @@ jobs:
6464

6565
steps:
6666
- name: Download all the dists
67-
uses: actions/download-artifact@v4
67+
uses: actions/download-artifact@v8
6868
with:
6969
name: python-package-distributions
7070
path: dist/
7171
- name: Sign the dists with Sigstore
72-
uses: sigstore/gh-action-sigstore-python@v3.0.0
72+
uses: sigstore/gh-action-sigstore-python@v3.3.0
7373
with:
7474
inputs: >-
7575
./dist/*.tar.gz

0 commit comments

Comments
 (0)