Skip to content

Catch the exception when the package is not installed correctly #15

Catch the exception when the package is not installed correctly

Catch the exception when the package is not installed correctly #15

Workflow file for this run

name: Lint and Compile
on:
release:
types:
- created
push:
pull_request:
jobs:
lint:
runs-on: ubuntu-22.04
steps:
- uses: actions/[email protected]
- uses: actions/[email protected]
with:
python-version: 3.11
- run: pip install .[dev]
- run: python -m ruff check --output-format=github .
build:
runs-on: ubuntu-22.04
needs:
- lint
steps:
- uses: actions/[email protected]
- uses: actions/[email protected]
with:
python-version: 3.11
- uses: justalemon/[email protected]
with:
version: 0.0.1-alpha.${{ github.run_number }}
pyproject-files: "pyproject.toml"
- run: pip install .[dev]
- run: python -m build
- uses: actions/[email protected]
with:
name: ${{ github.event.repository.name }}
path: dist/*