Skip to content

Commit a76b63b

Browse files
Fix CI for missing poetry.lock: remove lock check, update cache keys
1 parent 34f3a03 commit a76b63b

3 files changed

Lines changed: 1 addition & 11 deletions

File tree

.github/actions/setup-poetry-env/action.yml

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -20,14 +20,6 @@ runs:
2020
with:
2121
virtualenvs-in-project: true
2222

23-
- name: Load cached venv
24-
id: cached-poetry-dependencies
25-
uses: actions/cache@v4
26-
with:
27-
path: .venv
28-
key: venv-${{ runner.os }}-${{ inputs.python-version }}-${{ hashFiles('poetry.lock') }}
29-
3023
- name: Install dependencies
31-
if: steps.cached-poetry-dependencies.outputs.cache-hit != 'true'
3224
run: poetry install --no-interaction
3325
shell: bash

.github/workflows/main.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ jobs:
6363
uses: actions/cache@v4
6464
with:
6565
path: .tox
66-
key: venv-${{ runner.os }}-${{ matrix.python-version }}-${{ hashFiles('poetry.lock') }}
66+
key: venv-${{ runner.os }}-${{ matrix.python-version }}-${{ hashFiles('pyproject.toml') }}
6767

6868
- name: Install tox
6969
run: |

Makefile

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,6 @@ install: ## Install the poetry environment and install the pre-commit hooks
77

88
.PHONY: check
99
check: ## Run code quality tools.
10-
@echo "🚀 Checking Poetry lock file consistency with 'pyproject.toml': Running poetry lock --check"
11-
@poetry check --lock
1210
@echo "🚀 Linting code: Running pre-commit"
1311
@poetry run pre-commit run -a
1412
# @echo "🚀 Static type checking: Running mypy"

0 commit comments

Comments
 (0)