Add banner image to README #17
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: Check | |
on: | |
push: | |
branches: [main] | |
pull_request: | |
branches: [main] | |
jobs: | |
lint: | |
runs-on: ubuntu-latest | |
strategy: | |
fail-fast: false | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Install Poetry | |
run: pipx install poetry | |
- name: Set up Python | |
uses: actions/setup-python@v3 | |
with: | |
python-version: "3.10" | |
cache: "poetry" | |
- name: Install dependencies | |
run: | | |
sudo apt install libgirepository1.0-dev | |
poetry env use $(which python3.10) | |
poetry install | |
- name: Lint with flake8 | |
run: poetry run flake8 | |
- name: Check formatting with black | |
run: poetry run black --check --diff --color . | |
- name: Check import sorting with isort | |
run: poetry run isort --check --diff --color . | |
- name: Check type annotation with mypy | |
run: poetry run mypy --strict . | |
spellcheck: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: gevhaz/[email protected] |