chore(deps): update actions/checkout action to v4 - autoclosed #106
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: | |
pull_request: | |
push: | |
branches: [main] | |
workflow_dispatch: | |
jobs: | |
pre-commit: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Set up Python | |
uses: actions/setup-python@v4 | |
with: | |
python-version: "3.11" | |
cache: "pip" # caching pip dependencies | |
- run: pip install -r requirements.txt | |
- name: Ruff linting | |
uses: chartboost/ruff-action@v1 | |
- name: Black formatting | |
uses: psf/black@stable | |
- name: Mypy | |
run: | | |
pip install mypy | |
mypy src/ |