From 972b2105571e72b32a543265ec03e57af152f4eb Mon Sep 17 00:00:00 2001 From: SeaswimmerTheFsh Date: Sun, 24 Sep 2023 08:35:21 -0400 Subject: [PATCH] fix(actions): hopefully fixed poetry still not being found by the shell --- .forgejo/workflows/pylint.yaml | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/.forgejo/workflows/pylint.yaml b/.forgejo/workflows/pylint.yaml index 3b54c38..6ed19dd 100644 --- a/.forgejo/workflows/pylint.yaml +++ b/.forgejo/workflows/pylint.yaml @@ -15,10 +15,8 @@ jobs: add-apt-repository ppa:deadsnakes/ppa apt install -y python3.11 gcc python3-dev - name: Install Poetry - run: | - curl -sSL https://install.python-poetry.org | python3.11 - - export PATH="/root/.local/bin:$PATH" + run: curl -sSL https://install.python-poetry.org | python3.11 - - name: Install dependencies - run: poetry install --with dev + run: /root/.local/bin/poetry install --with dev - name: Analysing the code with Pylint run: pylint $(git ls-files '*.py')