Feat/initial dev #66
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: Lint | |
on: | |
push: | |
branches: [main] | |
pull_request: | |
concurrency: | |
group: ${{ github.workflow }}-${{ github.ref_name }}-${{ github.event.pull_request.number || github.sha }} | |
cancel-in-progress: true | |
jobs: | |
lint: | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
python-version: ["3.11"] | |
steps: | |
- name: Checkout project | |
uses: actions/checkout@v3 | |
- uses: ./.github/setup | |
with: | |
python-version: ${{ matrix.python-version }} | |
- name: Lint - ruff | |
if: always() | |
run: poetry run poe ruff | |
- name: Lint - black | |
if: always() | |
run: poetry run poe black --check | |
- name: Lint - mypy | |
if: always() | |
run: poetry run poe mypy | |
- name: Lint - pyright | |
if: always() | |
run: poetry run poe pyright |