From f08e1be9ba8b2cf786974dcb6c19437573ecd425 Mon Sep 17 00:00:00 2001 From: SeaswimmerTheFsh Date: Sun, 24 Sep 2023 12:48:15 -0400 Subject: [PATCH] fix(actions): added python3-dev to apt install command and reverted previous commit --- .forgejo/workflows/pylint.yaml | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/.forgejo/workflows/pylint.yaml b/.forgejo/workflows/pylint.yaml index fa5f89c..7ff5e3d 100644 --- a/.forgejo/workflows/pylint.yaml +++ b/.forgejo/workflows/pylint.yaml @@ -13,10 +13,14 @@ jobs: - name: Set up Python 3.11 run: | add-apt-repository ppa:deadsnakes/ppa - apt install -y python3.11 gcc python3.11-dev python3.11-venv + apt install -y python3.11 gcc python3.11-dev python3.11-venv python3-dev - name: Install Poetry run: curl -sSL https://install.python-poetry.org | python3.11 - - name: Install dependencies - run: python3.11 -m poetry install --with dev + run: | + export PATH="$HOME/.local/bin:$PATH" + poetry install --with dev - name: Analysing the code with Pylint - run: python3.11 -m poetry run pylint $(git ls-files '*.py') + run: | + export PATH="$HOME/.local/bin:$PATH" + poetry run pylint $(git ls-files '*.py')