Skip to content

attempt to fix workflow #5

attempt to fix workflow

attempt to fix workflow #5

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://raw.githubusercontent.com/python-poetry/poetry/master/get-poetry.py | python -
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')