Skip to content
Open
Show file tree
Hide file tree
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
14 changes: 7 additions & 7 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,16 +13,16 @@ jobs:
version-changed: ${{ steps.version-metadata.outputs.changed }}
new-version: ${{ steps.version-metadata.outputs.newVersion }}
steps:
- uses: actions/checkout@v4
- uses: actions/setup-python@v5
- uses: actions/checkout@v5
- uses: actions/setup-python@v6
with:
python-version: '3.9'
- name: Install Python build
run: pip install build
- name: Build project
run: python -m build
- name: Upload package
uses: actions/upload-artifact@v4
uses: actions/upload-artifact@v5
with:
name: artifact
path: dist/*
Expand All @@ -43,19 +43,19 @@ jobs:
contents: write
environment: pypi
steps:
- uses: actions/download-artifact@v4
- uses: actions/download-artifact@v6
with:
name: artifact
path: dist
- name: Publish package on PyPi
uses: pypa/gh-action-pypi-publish@76f52bc884231f62b9a034ebfe128415bbaabdfc
- uses: actions/checkout@v4
uses: pypa/gh-action-pypi-publish@ed0c53931b1dc9bd32cbe73a98c7f6766f8a527e
- uses: actions/checkout@v5
- name: Push v${{ needs.build.outputs.new-version }} tag
run: |
git tag v${{ needs.build.outputs.new-version }}
git push origin v${{ needs.build.outputs.new-version }}
- name: Create release
uses: softprops/action-gh-release@c95fe1489396fe8a9eb87c0abf8aa5b2ef267fda
uses: softprops/action-gh-release@6da8fa9354ddfdc4aeace5fc48d7f679b5214090
with:
generate_release_notes: true
tag_name: v${{ needs.build.outputs.new-version }}
Expand Down
10 changes: 5 additions & 5 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,8 +25,8 @@ jobs:
- py312
- py313
steps:
- uses: actions/checkout@v4
- uses: prefix-dev/setup-pixi@92815284c57faa15cd896c4d5cfb2d59f32dc43d
- uses: actions/checkout@v5
- uses: prefix-dev/setup-pixi@28eb668aafebd9dede9d97c4ba1cd9989a4d0004
with:
environments: ${{ matrix.env }}
- name: Install repository
Expand All @@ -39,7 +39,7 @@ jobs:
report-title: ${{ matrix.env }}
- name: Upload coverage reports to Codecov
if: matrix.env == 'py312'
uses: codecov/codecov-action@0565863a31f2c772f9f0395002a31e3f06189574
uses: codecov/codecov-action@5a1091511ad55cbe89839c7260b706298ca349f7
env:
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}
file: ./coverage.xml
Expand All @@ -51,7 +51,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Checkout branch
uses: actions/checkout@v4
uses: actions/checkout@v5
- name: Run pre-commit
uses: quantco/pre-commit-conda@v1

Expand All @@ -60,7 +60,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Checkout branch
uses: actions/checkout@v4
uses: actions/checkout@v5
# https://github.com/rhysd/actionlint/blob/main/docs/usage.md#use-actionlint-on-github-actions
- name: Download actionlint
id: get_actionlint
Expand Down
Loading