feat: обновлены версии зависимостей и линтеров
All checks were successful
Lint project / lint (push) Successful in 18s

- Обновлена версия `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`.
This commit is contained in:
proDream 2025-01-10 02:34:01 +04:00
parent 753834e7b5
commit d5ce79e55b
2 changed files with 4 additions and 11 deletions

View File

@ -36,7 +36,7 @@ jobs:
- name: Install dependencies - name: Install dependencies
run: | run: |
python -m pip install --upgrade pip python -m pip install --upgrade pip
pip install poetry pip install poetry==2.0.0
poetry install poetry install
poetry run pre-commit install poetry run pre-commit install
@ -44,7 +44,7 @@ jobs:
run: poetry run pre-commit run --all-files --hook-stage manual run: poetry run pre-commit run --all-files --hook-stage manual
- name: Run Telegram Notify Action - name: Run Telegram Notify Action
uses: proDreams/actions-telegram-notifier@v1 uses: proDreams/actions-telegram-notifier@main
if: always() if: always()
with: with:
token: ${{ secrets.TELEGRAM_BOT_TOKEN }} token: ${{ secrets.TELEGRAM_BOT_TOKEN }}

View File

@ -5,12 +5,7 @@ on:
jobs: jobs:
lint: lint:
env:
RUNNER_TOOL_CACHE: /opt/hostedtoolcache
runs-on: ubuntu-latest runs-on: ubuntu-latest
container:
image: catthehacker/ubuntu:act-22.04
steps: steps:
- name: Checkout repository - name: Checkout repository
@ -21,8 +16,6 @@ jobs:
with: with:
python-version: "3.12" python-version: "3.12"
cache: 'pip' cache: 'pip'
env:
AGENT_TOOLSDIRECTORY: /opt/hostedtoolcache
- name: Cache pre-commit hooks - name: Cache pre-commit hooks
id: cache-pre-commit id: cache-pre-commit
@ -36,7 +29,7 @@ jobs:
- name: Install dependencies - name: Install dependencies
run: | run: |
python -m pip install --upgrade pip python -m pip install --upgrade pip
pip install poetry pip install poetry==2.0.0
poetry install poetry install
poetry run pre-commit install poetry run pre-commit install
@ -44,7 +37,7 @@ jobs:
run: poetry run pre-commit run --all-files --hook-stage manual run: poetry run pre-commit run --all-files --hook-stage manual
- name: Run Telegram Notify Action - name: Run Telegram Notify Action
uses: proDreams/actions-telegram-notifier@v1 uses: proDreams/actions-telegram-notifier@main
if: always() if: always()
with: with:
token: ${{ secrets.TELEGRAM_BOT_TOKEN }} token: ${{ secrets.TELEGRAM_BOT_TOKEN }}