feat: обновлены версии зависимостей и линтеров
All checks were successful
Lint project / lint (push) Successful in 18s
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:
parent
753834e7b5
commit
d5ce79e55b
@ -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 }}
|
||||
|
11
.github/workflows/lint.yaml
vendored
11
.github/workflows/lint.yaml
vendored
@ -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 }}
|
||||
|
Loading…
x
Reference in New Issue
Block a user