File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 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
Original file line number Diff line number Diff line change 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 : |
Original file line number Diff line number Diff line change @@ -7,8 +7,6 @@ install: ## Install the poetry environment and install the pre-commit hooks
77
88.PHONY : check
99check : # # 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"
You can’t perform that action at this time.
0 commit comments