diff --git a/.github/workflows/pylint.yml b/.github/workflows/pylint.yml index ace4788..c73e032 100644 --- a/.github/workflows/pylint.yml +++ b/.github/workflows/pylint.yml @@ -9,9 +9,9 @@ jobs: matrix: python-version: ["3.8", "3.9", "3.10"] steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v4 - name: Set up Python ${{ matrix.python-version }} - uses: actions/setup-python@v2 + uses: actions/setup-python@v3 with: python-version: ${{ matrix.python-version }} - name: Install dependencies @@ -19,6 +19,5 @@ jobs: python -m pip install --upgrade pip pip install pylint - name: Analysing the code with pylint - continue-on-error: true run: | - find . -name "*py" | xargs pylint + pylint $(git ls-files '*.py')