diff --git a/.github/workflows/pyruff.yml b/.github/workflows/pyruff.yml index ac4f871..0e5408b 100644 --- a/.github/workflows/pyruff.yml +++ b/.github/workflows/pyruff.yml @@ -35,23 +35,27 @@ jobs: - name: Check Initer id: checkIniter run: | + set +e ls -la echo "Running Ruff Lint Check..." python -m ruff --version python -m ruff check src tests examples --no-cache --output-format json --output-file ruff-report.json + echo "ruff exit code: $?" echo "Ruff Lint Check completed. ruff-report.json" - - - name: Generate Linter Report - id: generateLinterReport - run: | - python scripts/generate_linter_from_json.py - - name: pull_request message with Ruff Lint results - id: prMessageRuffLint - run: | - curl -v -X POST \ - -H "Content-Type: application/json" \ - -H "Authorization: token ${{ secrets.GITEA_TOKEN }}" \ - -d @lint-result.json \ - ${{ gitea.server_url }}/api/v1/repos/${{ gitea.repository }}/issues/8/comments + + # - name: Generate Linter Report + # id: generateLinterReport + # run: | + # python scripts/generate_linter_from_json.py + + + # - name: pull_request message with Ruff Lint results + # id: prMessageRuffLint + # run: | + # curl -v -X POST \ + # -H "Content-Type: application/json" \ + # -H "Authorization: token ${{ secrets.GITEA_TOKEN }}" \ + # -d @lint-result.json \ + # ${{ gitea.server_url }}/api/v1/repos/${{ gitea.repository }}/issues/8/comments