Merge pull request #48 from bento-platform/chore/update #198
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: | |
- master | |
pull_request: | |
jobs: | |
lint: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: actions/setup-python@v5 | |
name: Set up Python | |
with: | |
python-version: "3.10" | |
- name: Install poetry | |
run: python -m pip install poetry | |
- name: Install dependencies | |
run: python -m poetry install --only dev | |
- name: Run black | |
run: python -m poetry run black --check bento_service_registry tests | |
- name: Run linter | |
run: python -m poetry run flake8 ./bento_service_registry ./tests | |
- name: Run type checker | |
run: python -m poetry run mypy bento_service_registry |