diff --git a/.github/workflows/pr-title-check.yml b/.github/workflows/pr-title-check.yml index b9e3daf..4d99ccf 100644 --- a/.github/workflows/pr-title-check.yml +++ b/.github/workflows/pr-title-check.yml @@ -9,6 +9,6 @@ on: jobs: pr-title-check: - uses: epam/ai-dial-ci/.github/workflows/pr-title-check.yml@1.10.2 + uses: epam/ai-dial-ci/.github/workflows/pr-title-check.yml@1.11.0 secrets: ACTIONS_BOT_TOKEN: ${{ secrets.ACTIONS_BOT_TOKEN }} diff --git a/.github/workflows/pr.yml b/.github/workflows/pr.yml index 4832dad..777aa56 100644 --- a/.github/workflows/pr.yml +++ b/.github/workflows/pr.yml @@ -6,7 +6,7 @@ on: jobs: run_tests: - uses: epam/ai-dial-ci/.github/workflows/python_package_pr.yml@1.10.2 + uses: epam/ai-dial-ci/.github/workflows/python_package_pr.yml@1.11.0 secrets: inherit with: python_version: 3.8 diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 6e6fab0..bd5f53a 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -6,7 +6,7 @@ on: jobs: release: - uses: epam/ai-dial-ci/.github/workflows/python_package_release.yml@1.10.2 + uses: epam/ai-dial-ci/.github/workflows/python_package_release.yml@1.11.0 secrets: inherit with: python_version: 3.8 diff --git a/Makefile b/Makefile index eb98b08..cd85160 100644 --- a/Makefile +++ b/Makefile @@ -1,5 +1,5 @@ -VENV ?= .venv -POETRY ?= $(VENV)/bin/poetry +VENV_DIR ?= .venv +POETRY ?= $(VENV_DIR)/bin/poetry POETRY_VERSION ?= 1.8.5 .PHONY: all init_env install clean lint format test spell_check @@ -7,8 +7,8 @@ POETRY_VERSION ?= 1.8.5 all: build init_env: - python -m venv $(VENV) - $(VENV)/bin/pip install poetry==$(POETRY_VERSION) --quiet + python -m venv $(VENV_DIR) + $(VENV_DIR)/bin/pip install poetry==$(POETRY_VERSION) --quiet install: init_env $(POETRY) install @@ -36,7 +36,7 @@ coverage: install $(POETRY) run nox -s coverage publish: build - $(POETRY) publish -u __token__ -p ${PYPI_TOKEN} --skip-existing + $(POETRY) publish -u __token__ -p $(PYPI_TOKEN) --skip-existing help: @echo '===================='