Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
22 changes: 11 additions & 11 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ jobs:
name: Build & test (${{ matrix.label }})
runs-on: ${{ matrix.runner }}
steps:
- uses: actions/checkout@v5
- uses: actions/checkout@v6
with: { fetch-depth: 0, submodules: true }
- uses: actions/setup-python@v6
with: { python-version: ">=3.9" }
Expand All @@ -46,7 +46,7 @@ jobs:
name: Build & test (minimum requirements)
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v5
- uses: actions/checkout@v6
with: { fetch-depth: 0, submodules: true }
- uses: actions/setup-python@v6
with: { python-version: "3.9" }
Expand All @@ -57,7 +57,7 @@ jobs:
name: Build & test (no optional dependencies)
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v5
- uses: actions/checkout@v6
with: { fetch-depth: 0, submodules: true }
- uses: actions/setup-python@v6
with: { python-version: ">=3.9" }
Expand All @@ -82,9 +82,9 @@ jobs:
name: Build, lint, & test wheels (${{ matrix.label }})
runs-on: ${{ matrix.runner }}
steps:
- uses: actions/checkout@v5
- uses: actions/checkout@v6
with: { fetch-depth: 0, submodules: true }
- uses: pypa/cibuildwheel@v3.2.0
- uses: pypa/cibuildwheel@v3.3.0
env:
CIBW_ARCHS: ${{ matrix.arch }}
CIBW_TEST_REQUIRES: pytest>=6 pytest-cov>=3
Expand All @@ -95,7 +95,7 @@ jobs:
pip install check-wheel-contents
check-wheel-contents ./wheelhouse/*.whl
- if: github.event_name == 'push'
uses: actions/upload-artifact@v4
uses: actions/upload-artifact@v5
with:
name: ${{ env.artifact_prefix }}-wheels-${{ matrix.runner }}-${{ matrix.arch }}
path: ./wheelhouse/*.whl
Expand All @@ -104,12 +104,12 @@ jobs:
name: Build & lint sdist
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v5
- uses: actions/checkout@v6
with: { fetch-depth: 0, submodules: true }
- run: pipx run build --sdist
- run: pipx run twine check --strict dist/*
- if: github.event_name == 'push'
uses: actions/upload-artifact@v4
uses: actions/upload-artifact@v5
with:
name: ${{ env.artifact_prefix }}-sdist
path: dist/*.tar.gz
Expand All @@ -125,7 +125,7 @@ jobs:
permissions:
id-token: write
steps:
- uses: actions/download-artifact@v5
- uses: actions/download-artifact@v6
with:
pattern: ${{ env.artifact_prefix }}-*
path: dist/
Expand All @@ -150,7 +150,7 @@ jobs:
env:
name_and_tag: snaphu-py-${{ github.ref_name }}
steps:
- uses: actions/checkout@v5
- uses: actions/checkout@v6
with: { fetch-depth: 0, submodules: true }
- run: |
pipx run git-archive-all ${{ env.name_and_tag }}.zip
Expand Down Expand Up @@ -179,7 +179,7 @@ jobs:
permissions:
id-token: write
steps:
- uses: actions/download-artifact@v5
- uses: actions/download-artifact@v6
with:
pattern: ${{ env.artifact_prefix }}-*
path: dist/
Expand Down
Loading