ci: add action for publishing the package #62
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Linting Checks | |
on: | |
push: | |
branches: | |
- main | |
pull_request: | |
jobs: | |
mypy: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@v4 | |
- name: Set up Python | |
uses: actions/setup-python@v4 | |
with: | |
python-version: 3.12 | |
- name: Setup python environment | |
run: | | |
sudo apt install pipx | |
pipx ensurepath | |
pipx install poetry | |
poetry install | |
- name: Check types | |
run: poetry run mypy . |