From d34c2bff9b0a2a7f4cea330aeb5c97ae2ce359b9 Mon Sep 17 00:00:00 2001 From: Amine Hadj-Youcef Date: Sat, 2 Mar 2024 17:35:15 +0100 Subject: [PATCH] improve workflow --- .github/workflows/pylint.yml | 10 +++------- 1 file changed, 3 insertions(+), 7 deletions(-) diff --git a/.github/workflows/pylint.yml b/.github/workflows/pylint.yml index e7e4f94..e3eddfb 100644 --- a/.github/workflows/pylint.yml +++ b/.github/workflows/pylint.yml @@ -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