Skip to content

Commit

Permalink
improve workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
amineHY committed Mar 2, 2024
1 parent 50b2ee9 commit d34c2bf
Showing 1 changed file with 3 additions and 7 deletions.
10 changes: 3 additions & 7 deletions .github/workflows/pylint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,27 +8,23 @@ on:
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 }}
- name: Set up Python
uses: actions/setup-python@v2
with:
python-version: ${{ matrix.python-version }}
python-version: "3.11"

- 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')
poetry run pylint spellchecker_llm

0 comments on commit d34c2bf

Please sign in to comment.