chore: simplify loading step #30
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
on: [push, pull_request, workflow_dispatch] | |
jobs: | |
setup: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: pdm-project/setup-pdm@v4 | |
with: | |
python-version: 3.11 | |
- run: pdm install | |
- name: isort | |
run: pdm run isort . --check --diff | |
- name: black | |
run: pdm run black . --check --diff | |
- name: ruff | |
run: pdm run ruff check --output-format github | |
- name: pyright | |
run: pdm run npx pyright |