Skip to content

Commit

Permalink
Merge branch 'main' of github.com:FelixBenning/pyrfd
Browse files Browse the repository at this point in the history
  • Loading branch information
FelixBenning committed Feb 27, 2024
2 parents cc8ac8f + 35e1fc1 commit af82b78
Showing 1 changed file with 20 additions and 4 deletions.
24 changes: 20 additions & 4 deletions .github/workflows/pylint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,10 +14,26 @@ jobs:
uses: actions/setup-python@v3
with:
python-version: ${{ matrix.python-version }}
- name: Install Poetry
uses: snok/install-poetry@v1
with:
virtualenvs-create: true
virtualenvs-in-project: true
installer-parallel: true
- name: Load cached venv
id: cached-poetry-dependencies
uses: actions/cache@v3
with:
path: .venv
key: venv-${{ runner.os }}-${{ steps.setup-python.outputs.python-version }}-${{ hashFiles('**/poetry.lock') }}

- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install pylint
if: steps.cached-poetry-dependencies.outputs.cache-hit != 'true'
run: poetry install --no-interaction --no-root

- name: Install library
run: poetry install --no-interaction

- name: Analysing the code with pylint
run: |
pylint $(git ls-files '*.py')
poetry run pylint pyrfd

0 comments on commit af82b78

Please sign in to comment.