Skip to content

Add some pre-commit hooks #16

Add some pre-commit hooks

Add some pre-commit hooks #16

Workflow file for this run

name: Build and upload to PyPI
on:
push:
pull_request:
release:
types: [published]
jobs:
build_artifacts:
name: Build artifacts
runs-on: ubuntu-latest
strategy:
fail-fast: true
steps:
- uses: actions/checkout@v3
- uses: conda-incubator/setup-miniconda@v2
with:
miniforge-variant: Mambaforge
miniforge-version: 22.9.0-2
use-mamba: true
environment-file: environment.yml
activate-environment: vscode-binder
- shell: bash -el {0}
run:
python -m build
- uses: pypa/[email protected]
if: github.event_name == 'release'
with:
user: __token__
password: ${{ secrets.PYPI_RELEASE_TOKEN }}