willbakst is linting the package #37
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 | |
run-name: ${{ github.actor }} is linting the package | |
on: | |
push: | |
branches: | |
- main | |
pull_request: | |
branches: | |
- main | |
jobs: | |
lint: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Run Ruff | |
uses: chartboost/ruff-action@v1 | |
- name: Install Poetry | |
uses: snok/[email protected] | |
- name: Install dependencies | |
run: poetry install --with dev | |
- name: Run mypy | |
run: poetry run mypy . |