.github/workflows/ruff.yml: Pin to 0.1.0.

The `--format` flag was changed to `--output-format` in the recent update.

Pin to this version to prevent further updates from breaking (e.g. through new rules or other changes).

This work was funded through GitHub Sponsors.

Signed-off-by: Jim Mussared <jim.mussared@gmail.com>
pull/737/head
Jim Mussared 2023-10-17 12:49:26 +11:00
rodzic e025c843b6
commit 0620d02290
2 zmienionych plików z 4 dodań i 4 usunięć

Wyświetl plik

@ -5,6 +5,6 @@ jobs:
ruff:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- run: pip install --user ruff
- run: ruff --format=github .
- uses: actions/checkout@v4
- run: pip install --user ruff==0.1.0
- run: ruff check --output-format=github .

Wyświetl plik

@ -6,6 +6,6 @@ repos:
entry: tools/codeformat.py -v -f
language: python
- repo: https://github.com/charliermarsh/ruff-pre-commit
rev: v0.0.280
rev: v0.1.0
hooks:
- id: ruff