pin paths-filter to v5.0.0 #89
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: | |
| pull_request: | |
| push: | |
| jobs: | |
| lint: | |
| name: lint | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v6 | |
| with: | |
| ref: ${{ github.head_ref }} | |
| - name: ShellCheck | |
| uses: ludeeus/action-shellcheck@master | |
| - name: Ruff | |
| uses: astral-sh/ruff-action@v3 | |
| - name: Ruff format | |
| uses: astral-sh/ruff-action@v3 | |
| with: | |
| args: "format --check" | |
| - name: Install uv | |
| uses: astral-sh/setup-uv@v7 | |
| - name: ty check | |
| run: uv run ty check | |
| - name: Vulture (dead code) | |
| run: uv run vulture msg2po/ --min-confidence 80 --ignore-names "default" | |
| test: | |
| name: test | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v6 | |
| - name: Install uv | |
| uses: astral-sh/setup-uv@v7 | |
| - name: Run tests | |
| run: uv run pytest |