|
|
|
@@ -0,0 +1,32 @@ |
|
|
|
name: Checks |
|
|
|
on: |
|
|
|
push: |
|
|
|
branches: [main, features] |
|
|
|
pull_request: |
|
|
|
branches: [main, features] |
|
|
|
|
|
|
|
jobs: |
|
|
|
lint: |
|
|
|
name: Code Style |
|
|
|
runs-on: ubuntu-latest |
|
|
|
|
|
|
|
steps: |
|
|
|
- uses: actions/checkout@v5 |
|
|
|
- uses: actions/setup-python@v6 |
|
|
|
with: |
|
|
|
python-version: 3.x |
|
|
|
- uses: psf/black@stable |
|
|
|
|
|
|
|
poetry-check: |
|
|
|
runs-on: ubuntu-latest |
|
|
|
|
|
|
|
name: Poetry |
|
|
|
steps: |
|
|
|
- uses: actions/checkout@v7 |
|
|
|
- uses: actions/setup-python@v6 |
|
|
|
with: |
|
|
|
python-version: '3.x' |
|
|
|
- run: | |
|
|
|
pip install -U pip poetry |
|
|
|
poetry install |
|
|
|
- run: poetry check --strict |