Skip to content

Commit 3d841cc

Browse files
committed
update all workflow versions to latest
1 parent 966040b commit 3d841cc

2 files changed

Lines changed: 14 additions & 13 deletions

File tree

.github/workflows/build-and-publish.yml

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# THIS WORKFLOW WILL BUILD WHEELS FOR ALL MAJOR PLATFORMS AND UPLOAD THEM TO PYPI
22

3-
# git tag v1.0.0
4-
# git push origin v1.0.0
3+
# git tag v1.X.Y
4+
# git push origin v1.X.Y
55

66
name: Build and Publish
77
permissions:
@@ -22,15 +22,15 @@ jobs:
2222
os: [ubuntu-latest, windows-latest, macos-latest]
2323

2424
steps:
25-
- uses: actions/checkout@v4
25+
- uses: actions/checkout@v6
2626

2727
- name: Build wheels
28-
uses: pypa/cibuildwheel@v2.16.5
28+
uses: pypa/cibuildwheel@v3.3.0
2929
env:
3030
CIBW_BUILD: cp310-* cp311-* cp312-* cp313-* cp314-*
3131
CIBW_SKIP: "*-musllinux_*"
3232

33-
- uses: actions/upload-artifact@v4
33+
- uses: actions/upload-artifact@v6
3434
with:
3535
name: wheels-${{ matrix.os }}
3636
path: ./wheelhouse/*.whl
@@ -39,12 +39,12 @@ jobs:
3939
name: Build source distribution
4040
runs-on: ubuntu-latest
4141
steps:
42-
- uses: actions/checkout@v4
42+
- uses: actions/checkout@v6
4343

4444
- name: Build sdist
4545
run: pipx run build --sdist
4646

47-
- uses: actions/upload-artifact@v4
47+
- uses: actions/upload-artifact@v6
4848
with:
4949
name: sdist
5050
path: dist/*.tar.gz
@@ -56,7 +56,7 @@ jobs:
5656
permissions:
5757
id-token: write
5858
steps:
59-
- uses: actions/download-artifact@v4
59+
- uses: actions/download-artifact@v7
6060
with:
6161
pattern: "*"
6262
merge-multiple: true
Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# THIS WORKFLOW WILL INSTALL PYTHON DEPENDENCIES, RUN TESTS AND LINT WITH A VARIETY OF PYTHON VERSIONS
22
# FOR MORE INFORMATION SEE: https://docs.github.com/en/actions/automating-builds-and-tests/building-and-testing-python
33

4-
name: Python package
4+
name: Test & Lint
55
permissions:
66
contents: read
77

@@ -13,22 +13,23 @@ on:
1313

1414
jobs:
1515
build:
16-
runs-on: ubuntu-latest
16+
runs-on: ${{ matrix.os }}
1717
strategy:
1818
fail-fast: false
1919
matrix:
20+
os: [ubuntu-latest, windows-latest, macos-latest]
2021
python-version: ["3.10", "3.11", "3.12", "3.13", "3.14"]
2122

2223
steps:
23-
- uses: actions/checkout@v4
24+
- uses: actions/checkout@v6
2425

2526
- name: Set up Python ${{ matrix.python-version }}
26-
uses: actions/setup-python@v3
27+
uses: actions/setup-python@v6
2728
with:
2829
python-version: ${{ matrix.python-version }}
2930

3031
- name: Cache pip packages
31-
uses: actions/cache@v3
32+
uses: actions/cache@v5
3233
with:
3334
path: ~/.cache/pip
3435
key: ${{ runner.os }}-pip-${{ hashFiles('**/requirements.txt', '**/pyproject.toml') }}

0 commit comments

Comments
 (0)