Skip to content

update poetry installation #6

update poetry installation

update poetry installation #6

Workflow file for this run

name: Pylint
on:
push:
branches:
- main # Adjust this to match your branch name
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: ["3.11"]
steps:
- name: Checkout code
uses: actions/checkout@v3
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v2
with:
python-version: ${{ matrix.python-version }}
- name: Install Poetry
run: |
curl -sSL https://install.python-poetry.org | python3 -
source $HOME/.poetry/env
- name: Install project dependencies
run: poetry install
- name: Analyzing the code with pylint
run: |
poetry run pylint $(git ls-files '*.py')