From 5078f2daf9a6a3876d6641e410df58507f68845b Mon Sep 17 00:00:00 2001 From: Ben Gorlick Date: Thu, 6 Jun 2024 14:03:09 -0700 Subject: [PATCH] Update pylint.yml --- .github/workflows/pylint.yml | 13 ++++++++----- 1 file changed, 8 insertions(+), 5 deletions(-) diff --git a/.github/workflows/pylint.yml b/.github/workflows/pylint.yml index f058ef9..e220079 100644 --- a/.github/workflows/pylint.yml +++ b/.github/workflows/pylint.yml @@ -21,8 +21,11 @@ jobs: pip install pylint - name: Run Pylint run: | - pylint getai/*.py - - name: Report pylint errors - if: failure() - run: | - echo "Pylint found issues in the code. Please review the errors above." + pylint getai/*.py > pylint-report.txt || true + - name: Upload Pylint Report + uses: actions/upload-artifact@v3 + with: + name: pylint-report-${{ matrix.os }}-${{ matrix.python-version }} + path: pylint-report.txt + - name: Display Pylint Report + run: cat pylint-report.txt