From d5ce79e55b4c69bae10d5d940b0f3bce84ca5bc4 Mon Sep 17 00:00:00 2001 From: proDream Date: Fri, 10 Jan 2025 02:34:01 +0400 Subject: [PATCH] =?UTF-8?q?feat:=20=D0=BE=D0=B1=D0=BD=D0=BE=D0=B2=D0=BB?= =?UTF-8?q?=D0=B5=D0=BD=D1=8B=20=D0=B2=D0=B5=D1=80=D1=81=D0=B8=D0=B8=20?= =?UTF-8?q?=D0=B7=D0=B0=D0=B2=D0=B8=D1=81=D0=B8=D0=BC=D0=BE=D1=81=D1=82?= =?UTF-8?q?=D0=B5=D0=B9=20=D0=B8=20=D0=BB=D0=B8=D0=BD=D1=82=D0=B5=D1=80?= =?UTF-8?q?=D0=BE=D0=B2?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - Обновлена версия `poetry` до 2.0.0 в файлах `.gitea/workflows/lint.yaml` и `.github/workflows/lint.yaml`. - Удалены неиспользуемые переменные окружения: `RUNNER_TOOL_CACHE`, `AGENT_TOOLSDIRECTORY`. feat: обновлены версии зависимостей и линтеров - Обновлена версия `poetry` до 2.0.0 в файлах `.gitea/workflows/lint.yaml` и `.github/workflows/lint.yaml`. - Удалены неиспользуемые переменные окружения: `RUNNER_TOOL_CACHE`, `AGENT_TOOLSDIRECTORY`. --- .gitea/workflows/lint.yaml | 4 ++-- .github/workflows/lint.yaml | 11 ++--------- 2 files changed, 4 insertions(+), 11 deletions(-) diff --git a/.gitea/workflows/lint.yaml b/.gitea/workflows/lint.yaml index a905fcd..bfa598a 100644 --- a/.gitea/workflows/lint.yaml +++ b/.gitea/workflows/lint.yaml @@ -36,7 +36,7 @@ jobs: - name: Install dependencies run: | python -m pip install --upgrade pip - pip install poetry + pip install poetry==2.0.0 poetry install poetry run pre-commit install @@ -44,7 +44,7 @@ jobs: run: poetry run pre-commit run --all-files --hook-stage manual - name: Run Telegram Notify Action - uses: proDreams/actions-telegram-notifier@v1 + uses: proDreams/actions-telegram-notifier@main if: always() with: token: ${{ secrets.TELEGRAM_BOT_TOKEN }} diff --git a/.github/workflows/lint.yaml b/.github/workflows/lint.yaml index 489224c..da3a151 100644 --- a/.github/workflows/lint.yaml +++ b/.github/workflows/lint.yaml @@ -5,12 +5,7 @@ on: jobs: lint: - env: - RUNNER_TOOL_CACHE: /opt/hostedtoolcache - runs-on: ubuntu-latest - container: - image: catthehacker/ubuntu:act-22.04 steps: - name: Checkout repository @@ -21,8 +16,6 @@ jobs: with: python-version: "3.12" cache: 'pip' - env: - AGENT_TOOLSDIRECTORY: /opt/hostedtoolcache - name: Cache pre-commit hooks id: cache-pre-commit @@ -36,7 +29,7 @@ jobs: - name: Install dependencies run: | python -m pip install --upgrade pip - pip install poetry + pip install poetry==2.0.0 poetry install poetry run pre-commit install @@ -44,7 +37,7 @@ jobs: run: poetry run pre-commit run --all-files --hook-stage manual - name: Run Telegram Notify Action - uses: proDreams/actions-telegram-notifier@v1 + uses: proDreams/actions-telegram-notifier@main if: always() with: token: ${{ secrets.TELEGRAM_BOT_TOKEN }}