This commit is contained in:
@@ -9,10 +9,10 @@ steps:
|
|||||||
failure: ignore
|
failure: ignore
|
||||||
secrets: ["reviewdog_gitea_api_token", "gitea_address"]
|
secrets: ["reviewdog_gitea_api_token", "gitea_address"]
|
||||||
commands: |
|
commands: |
|
||||||
|
cd backend
|
||||||
env
|
env
|
||||||
wget -O - -q https://raw.githubusercontent.com/reviewdog/reviewdog/master/install.sh | sh -s latest
|
wget -O - -q https://raw.githubusercontent.com/reviewdog/reviewdog/master/install.sh | sh -s latest
|
||||||
pip install ruff
|
pip install ruff
|
||||||
cd backend
|
|
||||||
ruff --output-format sarif . > /tmp/ruff.log
|
ruff --output-format sarif . > /tmp/ruff.log
|
||||||
cat /tmp/ruff.log
|
cat /tmp/ruff.log
|
||||||
cat /tmp/ruff.log | ./bin/reviewdog -f sarif -reporter gitea-pr-review
|
cat /tmp/ruff.log | ./bin/reviewdog -f sarif -reporter gitea-pr-review
|
||||||
@@ -22,7 +22,7 @@ steps:
|
|||||||
failure: ignore
|
failure: ignore
|
||||||
secrets: ["reviewdog_gitea_api_token", "gitea_address"]
|
secrets: ["reviewdog_gitea_api_token", "gitea_address"]
|
||||||
commands: |
|
commands: |
|
||||||
|
cd backend
|
||||||
wget -O - -q https://raw.githubusercontent.com/reviewdog/reviewdog/master/install.sh | sh -s latest
|
wget -O - -q https://raw.githubusercontent.com/reviewdog/reviewdog/master/install.sh | sh -s latest
|
||||||
pip install mypy
|
pip install mypy
|
||||||
cd backend
|
|
||||||
mypy . | ./bin/reviewdog -f mypy -reporter gitea-pr-review
|
mypy . | ./bin/reviewdog -f mypy -reporter gitea-pr-review
|
||||||
|
Reference in New Issue
Block a user