Skip to content

feat: setup pixi, move to src layout, run ruff format once (#58) #121

feat: setup pixi, move to src layout, run ruff format once (#58)

feat: setup pixi, move to src layout, run ruff format once (#58) #121

on:
push:
branches:
- main
name: release-please
jobs:
release-please:
runs-on: ubuntu-latest
outputs:
release_created: ${{ steps.release.outputs.release_created }}
steps:
- uses: GoogleCloudPlatform/release-please-action@v3
id: release
with:
release-type: python
package-name: snakemake-interface-common
publish:
runs-on: ubuntu-latest
needs: release-please
if: ${{ needs.release-please.outputs.release_created }}
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Install Pixi
uses: prefix-dev/[email protected]
with:
environments: publish
pixi-version: v0.42.1
- name: Build source and wheel distribution + check build
run: |
pixi run --environment publish check-build
- name: Publish to PyPI
uses: pypa/gh-action-pypi-publish@release/v1
with:
user: __token__
password: ${{ secrets.PYPI_TOKEN }}