Skip to content

Commit

Permalink
attempt to fix workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
amineHY committed Mar 2, 2024
1 parent 2d96361 commit 38eeb68
Showing 1 changed file with 8 additions and 3 deletions.
11 changes: 8 additions & 3 deletions .github/workflows/pylint.yml
Original file line number Diff line number Diff line change
@@ -1,15 +1,20 @@
name: Pylint

on: [push]
on:
push:
branches:
- main # Adjust this to match your branch name

jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: ["3.11"]

steps:
- uses: actions/checkout@v3
- name: Checkout code
uses: actions/checkout@v3

- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v2
Expand All @@ -24,6 +29,6 @@ jobs:
- name: Install project dependencies
run: poetry install

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

0 comments on commit 38eeb68

Please sign in to comment.