mirror of
https://github.com/ModOrganizer2/modorganizer-basic_games.git
synced 2026-07-27 14:07:29 -07:00
29 lines
634 B
YAML
29 lines
634 B
YAML
name: linters
|
|
|
|
on: [push, pull_request]
|
|
|
|
jobs:
|
|
checks:
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- uses: actions/checkout@v4
|
|
with:
|
|
path: "basic_games"
|
|
- name: Set up Python
|
|
uses: actions/setup-python@v2
|
|
with:
|
|
python-version: 3.11
|
|
- uses: abatilo/actions-poetry@v2
|
|
- name: Install
|
|
run: |
|
|
cd basic_games
|
|
poetry install
|
|
- name: Lint
|
|
run: |
|
|
cd basic_games
|
|
poetry run black . --check --diff
|
|
poetry run isort -c .
|
|
poetry run mypy .
|
|
poetry run ruff .
|
|
poetry run pyright .
|