Skip to content

ci: update release workflow to use ncipollo #102

ci: update release workflow to use ncipollo

ci: update release workflow to use ncipollo #102

name: Code formatter and linter
on:
push:
branches: ["master", "main", "rewrite", "develop"]
permissions:
contents: write
jobs:
build:
runs-on: Ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Install Python
uses: actions/setup-python@v3
with:
python-version: '3.8'
- name: Install Dependencies
run: |
python -m pip install --upgrade pip
pip install poetry
poetry install
- name: Format with isort and black
run: |
poetry run isort .
poetry run black .
- name: Linting with ruff
run: |
poetry run ruff .
- name: Type checking with mypy
run: |
poetry run mypy .
- name: Build docs
run: |
poetry run mkdocs gh-deploy --force