ci: Speed up pylint GitHub Action (#5828)

This commit is contained in:
Christian Clauss 2023-09-16 16:30:13 +02:00 committed by GitHub
parent 66b8b6656c
commit d49c86c845
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -68,10 +68,9 @@ jobs:
with: with:
python-version: ${{ env.PYTHON_VERSION }} python-version: ${{ env.PYTHON_VERSION }}
- name: Install Haystack - name: Install Pylint and Haystack Linter
run: | run: |
pip install ".[all,dev]" pip install pylint ./haystack-linter
pip install ./haystack-linter
- name: Pylint - name: Pylint
if: steps.files.outputs.any_changed == 'true' if: steps.files.outputs.any_changed == 'true'