Merge pull request #158 from xxyzz/dependabot/github_actions/crate-ci… #582
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 Code Base | |
on: | |
push: | |
branches: # ignore pushed tags | |
- "*" | |
pull_request: | |
permissions: | |
contents: read | |
pull-requests: read | |
jobs: | |
lint: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: actions/setup-python@v4 | |
with: | |
python-version: '3.12' | |
- uses: psf/black@stable | |
- run: | | |
python -m pip install mypy | |
mypy . | |
mypy __main__.py | |
- run: | | |
python -m pip install ruff | |
ruff . | |
- uses: crate-ci/[email protected] |