Skip to content

Commit

Permalink
release: v0.5.1
Browse files Browse the repository at this point in the history
release: v0.5.1
  • Loading branch information
joshua-auchincloss authored Feb 19, 2024
2 parents 767535f + 2d1eb53 commit eb543af
Show file tree
Hide file tree
Showing 4 changed files with 18 additions and 14 deletions.
26 changes: 15 additions & 11 deletions .github/workflows/build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ jobs:
python-version: ['3.8', '3.9', '3.10', '3.11', '3.12']

steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4

- uses: actions/setup-go@v5
with:
Expand Down Expand Up @@ -96,7 +96,7 @@ jobs:
needs: [validate]
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- name: Set up Python
uses: actions/setup-python@v4
- name: Install dependencies
Expand All @@ -106,9 +106,10 @@ jobs:
- name: Build package
run: hatch build -t sdist
- name: Upload sdist
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
path: ./dist/*.tar.gz
name: hatch-cython-sdist
path: ./dist/

wheel:
needs: [validate]
Expand All @@ -118,7 +119,7 @@ jobs:
python-version: ['3.8', '3.9', '3.10', '3.11', '3.12']
os: [ubuntu-latest, windows-latest, macos-latest]
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v4
with:
Expand All @@ -131,9 +132,10 @@ jobs:
- name: Build package
run: hatch build -t wheel
- name: Upload wheel
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
path: ./dist/*.whl
name: wheel-${{ matrix.python-version }}-${{ matrix.os }}
path: ./dist/

release:
needs: [sdist, wheel]
Expand All @@ -144,16 +146,18 @@ jobs:
url: https://pypi.org/p/hatch-cython
steps:
- name: Download all workflow run artifacts
uses: actions/download-artifact@v3
uses: actions/download-artifact@v4
with:
path: ./dist
path: dist/
merge-multiple: true
- name: Display downloaded files
run: ls -R ./dist
- name: Release
uses: softprops/action-gh-release@v1
with:
generate_release_notes: true
fail_on_unmatched_files: true
files: |-
dist/*
dist/*.whl
dist/*.tar.gz
- name: Publish package
uses: pypa/gh-action-pypi-publish@release/v1
2 changes: 1 addition & 1 deletion .github/workflows/coverage.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
uses: actions/checkout@v4
- name: Set up Python 3.11
uses: actions/setup-python@v4
with:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/ruff.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ jobs:
ruff:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- uses: chartboost/ruff-action@v1
with:
src: ./src
2 changes: 1 addition & 1 deletion .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ jobs:
python-version: ['3.8', '3.9', '3.10', '3.11']

steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4

- uses: actions/setup-go@v5
with:
Expand Down

0 comments on commit eb543af

Please sign in to comment.