Merge pull request #7 from frapercan/develop #57
Workflow file for this run
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: Lint | |
| on: | |
| push: | |
| pull_request: | |
| jobs: | |
| lint: | |
| runs-on: ubuntu-22.04 | |
| strategy: | |
| fail-fast: false | |
| matrix: | |
| python-version: ["3.12"] | |
| poetry-version: ["2.1.0"] | |
| steps: | |
| - uses: actions/checkout@v6 | |
| - uses: actions/setup-python@v6 | |
| with: | |
| python-version: ${{ matrix.python-version }} | |
| - uses: abatilo/actions-poetry@v3 | |
| with: | |
| poetry-version: ${{ matrix.poetry-version }} | |
| - name: Add poetry to PATH | |
| run: echo "$HOME/.local/bin" >> $GITHUB_PATH | |
| - name: Install dev dependencies | |
| run: poetry install --only dev | |
| - name: ruff check | |
| run: poetry run ruff check protea scripts | |
| - name: flake8 | |
| run: poetry run flake8 protea | |
| - name: mypy | |
| run: poetry run mypy protea |