🚧 Fix reviewdog version and setup ruff
This commit is contained in:
@@ -8,13 +8,14 @@ steps:
|
||||
image: python:3.12-alpine
|
||||
failure: ignore
|
||||
commands: |
|
||||
wget -O - -q https://raw.githubusercontent.com/reviewdog/reviewdog/master/install.sh | sh -s latest
|
||||
pip install ruff
|
||||
ruff --output-format diff .
|
||||
ruff --output-format sarif . | eviewdog -f=sarif -reporter=gitea-pr-review -tee
|
||||
|
||||
- name: mypy
|
||||
image: python:3.12-alpine
|
||||
failure: ignore
|
||||
commands: |
|
||||
wget -O - -q https://raw.githubusercontent.com/reviewdog/reviewdog/master/install.sh | sh -s [vX.Y.Z]
|
||||
wget -O - -q https://raw.githubusercontent.com/reviewdog/reviewdog/master/install.sh | sh -s latest
|
||||
pip install mypy
|
||||
mypy . | eviewdog -f=mypy -reporter=gitea-pr-review -tee
|
||||
|
Reference in New Issue
Block a user