ci: expand CI workflow #19
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: Crypt4GH Middleware Checks | |
on: | |
pull_request: | |
branches: [main] | |
jobs: | |
lint: | |
name: Run linting | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout repository | |
uses: actions/checkout@v4 | |
- name: Set up Python | |
uses: actions/setup-python@v5 | |
with: | |
python-version: "3.12" | |
- name: Install requirements | |
run: pip install -r requirements_dev.txt | |
- name: Lint with pylint | |
run: pylint tests/tasks/* middleware/* | |
- name: Lint with ruff | |
run: ruff check tests/tasks/* middleware/* | |
- name: Type checking with mypy | |
run: mypy middleware |