Skip to content

Add support for maturin #33

Add support for maturin

Add support for maturin #33

Workflow file for this run

name: PR validation
on: [pull_request]
jobs:
lint:
runs-on: ubuntu-latest
steps:
- name: Check out code
uses: actions/checkout@v3
with:
fetch-depth: 0
- name: Install poetry
run: pipx install poetry
- name: Set up Python
uses: actions/[email protected]
with:
python-version: "3.12"
cache: "poetry"
cache-dependency-path: "poetry.lock"
- name: Install dependencies
run: poetry install
- name: Run code linters
run: |
poetry run ruff check .
poetry run black --check .
- name: Lint commits
run: |
poetry run cz check --rev-range origin/${GITHUB_BASE_REF}..