Refactor attrs file structure #230
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: check | |
on: | |
- push | |
- pull_request | |
jobs: | |
check: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@v4 | |
- name: Set up Python | |
uses: actions/setup-python@v5 | |
with: | |
python-version: "3.10" | |
- name: Set up poetry | |
uses: abatilo/actions-poetry@v3 | |
with: | |
poetry-version: "1.8.4" | |
- name: Install dependencies | |
run: poetry install | |
- name: Run linter | |
run: poetry run poe lint | |
- name: Run formatter | |
run: poetry run poe format | |
- name: Run type checking | |
run: poetry run poe typecheck | |
- name: Run version check | |
run: poetry run poe versioncheck | |
- name: Run tests | |
run: poetry run poe test |