debug
This commit is contained in:
parent
f183cc6114
commit
78bade9d11
30
.github/workflows/pyruff.yml
vendored
30
.github/workflows/pyruff.yml
vendored
@ -36,24 +36,20 @@ jobs:
|
|||||||
id: checkIniter
|
id: checkIniter
|
||||||
run: |
|
run: |
|
||||||
echo "Running Ruff Lint Check..."
|
echo "Running Ruff Lint Check..."
|
||||||
python -m ruff --version
|
python -m ruff check . --output-format json --output-file ruff-report.json
|
||||||
echo "Running Ruff Lint Check..."
|
|
||||||
python ruff --version
|
|
||||||
ruff check .
|
|
||||||
ruff check . --output-format json --output-file ruff-report.json
|
|
||||||
echo "Ruff Lint Check completed. ruff-report.json"
|
echo "Ruff Lint Check completed. ruff-report.json"
|
||||||
|
|
||||||
# - name: Generate Linter Report
|
- name: Generate Linter Report
|
||||||
# id: generateLinterReport
|
id: generateLinterReport
|
||||||
# run: |
|
run: |
|
||||||
# python scripts/generate_linter_from_json.py
|
python scripts/generate_linter_from_json.py
|
||||||
|
|
||||||
|
|
||||||
# - name: pull_request message with Ruff Lint results
|
- name: pull_request message with Ruff Lint results
|
||||||
# id: prMessageRuffLint
|
id: prMessageRuffLint
|
||||||
# run: |
|
run: |
|
||||||
# curl -v -X POST \
|
curl -v -X POST \
|
||||||
# -H "Content-Type: application/json" \
|
-H "Content-Type: application/json" \
|
||||||
# -H "Authorization: token ${{ secrets.GITEA_TOKEN }}" \
|
-H "Authorization: token ${{ secrets.GITEA_TOKEN }}" \
|
||||||
# -d @lint-result.json \
|
-d @lint-result.json \
|
||||||
# ${{ gitea.server_url }}/api/v1/repos/${{ gitea.repository }}/issues/8/comments
|
${{ gitea.server_url }}/api/v1/repos/${{ gitea.repository }}/issues/8/comments
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user