From 25fa9a0f83efe669f1460245e0c56beae77e5be7 Mon Sep 17 00:00:00 2001 From: SeaswimmerTheFsh Date: Sun, 24 Sep 2023 12:23:15 -0400 Subject: [PATCH] fix(actions): reverted to manual install with pip for workflow --- .forgejo/workflows/pylint.yaml | 13 ++++++------- 1 file changed, 6 insertions(+), 7 deletions(-) diff --git a/.forgejo/workflows/pylint.yaml b/.forgejo/workflows/pylint.yaml index 3d7d706..cc245d1 100644 --- a/.forgejo/workflows/pylint.yaml +++ b/.forgejo/workflows/pylint.yaml @@ -13,12 +13,11 @@ 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 python3-dev - - name: Install Poetry - run: curl -sSL https://install.python-poetry.org | python3.11 - + apt install -y python3.11 gcc python3.11-dev python3.11-venv - name: Install dependencies - run: /root/.local/bin/poetry install --with dev - - name: Analysing the code with Pylint run: | - /root/.local/bin/poetry shell - pylint $(git ls-files '*.py') + python3.11 -m pip install --upgrade pip + python3.11 -m pip install pylint + python3.11 -m pip install -U Red-DiscordBot pytimeparse2 yt-dlp + - name: Analysing the code with Pylint + run: pylint $(git ls-files '*.py')