Merge pull request #105 from a5chin/renovate/lock-file-maintenance #68
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: | |
| branches: [main] | |
| paths: | |
| - ".github/workflows/lint.yml" | |
| - "**.py" | |
| - ".python-version" | |
| - "pyproject.toml" | |
| - "pyrightconfig.json" | |
| - "ruff.toml" | |
| - "uv.lock" | |
| pull_request: | |
| branches: [main] | |
| paths: | |
| - ".github/workflows/lint.yml" | |
| - "**.py" | |
| - ".python-version" | |
| - "pyproject.toml" | |
| - "pyrightconfig.json" | |
| - "ruff.toml" | |
| - "uv.lock" | |
| jobs: | |
| pyright: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout | |
| uses: actions/checkout@v5 | |
| - name: Setup Python with uv | |
| uses: ./.github/actions/setup-python-with-uv | |
| - name: Lint by Pyright | |
| run: uv run nox -s lint -- --pyright | |
| ruff: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout | |
| uses: actions/checkout@v5 | |
| - name: Setup Python with uv | |
| uses: ./.github/actions/setup-python-with-uv | |
| - name: Lint by Ruff | |
| run: uv run nox -s lint -- --ruff |