-
Notifications
You must be signed in to change notification settings - Fork 27
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
a197fdb
commit 729d4de
Showing
1 changed file
with
12 additions
and
12 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -10,8 +10,8 @@ jobs: | |
name: Lint | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/[email protected].4 | ||
- uses: actions/[email protected].0 | ||
- uses: actions/[email protected].7 | ||
- uses: actions/[email protected].1 | ||
with: | ||
python-version: '3.10' | ||
- run: | | ||
|
@@ -25,15 +25,15 @@ jobs: | |
name: Build source distribution | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/[email protected].4 | ||
- uses: actions/[email protected].0 | ||
- uses: actions/[email protected].7 | ||
- uses: actions/[email protected].1 | ||
with: | ||
python-version: '3.10' | ||
- name: Build sdist | ||
run: | | ||
python -m pip install --user build | ||
python -m build --sdist | ||
- uses: actions/[email protected].3 | ||
- uses: actions/[email protected].5 | ||
with: | ||
name: source | ||
path: dist/*.tar.gz | ||
|
@@ -59,22 +59,22 @@ jobs: | |
- { arch: x86_64, wheel: cp312-win_amd64, os: windows-2019 } | ||
steps: | ||
- name: Download source distribution | ||
uses: actions/[email protected].7 | ||
uses: actions/[email protected].8 | ||
with: | ||
name: source | ||
- name: Unpack source distribution | ||
shell: bash | ||
run: tar --strip-components 1 -xvf *.tar.gz | ||
- name: Build wheel | ||
uses: pypa/cibuildwheel@v2.17.0 | ||
uses: pypa/cibuildwheel@v2.19.2 | ||
with: | ||
output-dir: wheelhouse | ||
env: | ||
CIBW_ARCHS_MACOS: ${{ matrix.arch }} | ||
CIBW_BUILD: ${{ matrix.wheel }} | ||
CIBW_TEST_COMMAND: python -m unittest discover -v -s {package}/tests | ||
CIBW_BUILD_VERBOSITY: 1 | ||
- uses: actions/[email protected].3 | ||
- uses: actions/[email protected].5 | ||
with: | ||
name: ${{ matrix.wheel }} | ||
path: ./wheelhouse/*.whl | ||
|
@@ -83,8 +83,8 @@ jobs: | |
name: Build docs | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/[email protected].4 | ||
- uses: actions/[email protected].0 | ||
- uses: actions/[email protected].7 | ||
- uses: actions/[email protected].1 | ||
with: | ||
python-version: '3.12' | ||
- run: | | ||
|
@@ -103,10 +103,10 @@ jobs: | |
# Upload to PyPI on every tag starting with 'v' | ||
if: github.event_name == 'push' && startsWith(github.event.ref, 'refs/tags/v') | ||
steps: | ||
- uses: actions/[email protected].7 | ||
- uses: actions/[email protected].8 | ||
with: | ||
path: artifacts | ||
- run: | | ||
mkdir dist | ||
find artifacts -type f -exec mv {} dist \; | ||
- uses: pypa/gh-action-pypi-publish@v1.8.14 | ||
- uses: pypa/gh-action-pypi-publish@v1.9.0 |