fix: improved whitespaces #14
This file contains hidden or 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: "CI - linters and tests" | |
| on: | |
| push: | |
| branches: | |
| - main | |
| pull_request: | |
| jobs: | |
| lint-and-test: | |
| name: linters and tests | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: checkout repository | |
| uses: actions/checkout@v3 | |
| - name: "Install just" | |
| uses: extractions/setup-just@v3 | |
| - name: "Set up Python" | |
| uses: actions/setup-python@v5 | |
| with: | |
| python-version-file: ".python-version" | |
| - name: "Install uv" | |
| uses: astral-sh/setup-uv@v5 | |
| - name: "Install dependencies" | |
| run: uv sync --dev --no-cache-dir --locked | |
| - name: "Run light linters" | |
| run: just lint | |
| - name: "Run mypy" | |
| run: just mypy | |
| - name: "Run tests" | |
| run: just test | |
| - name: "Run CI checks in generated code" | |
| run: just generation_check | |
| - name: "Run CI checks in generated code (docker variant)" | |
| run: just generation_check_docker |