Skip to content

Commit 5d9e0e0

Browse files
committed
ci: Reduce checks run duplication
1 parent b8e3194 commit 5d9e0e0

File tree

2 files changed

+44
-37
lines changed

2 files changed

+44
-37
lines changed

.github/workflows/checks.yml

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,6 @@ on:
44
push:
55
branches: ["main"]
66
pull_request:
7-
# The branches below must be a subset of the branches above
87
branches: ["main"]
98

109
jobs:
@@ -26,11 +25,11 @@ jobs:
2625
path: .venv
2726
key: ${{ runner.os }}-${{ matrix.python }}-dependencies-${{ hashFiles('**/poetry.lock') }}
2827
restore-keys: |
29-
${{ runner.os }}-${{ matrix.python }}-dependencies-v2
28+
${{ runner.os }}-${{ matrix.python }}-dependencies
3029
- name: Install dependencies
3130
run: |
3231
pip install poetry
33-
poetry config virtualenvs.in-project true
32+
python -m venv .venv
3433
poetry run python -m pip install --upgrade pip
3534
poetry install
3635

poetry.lock

Lines changed: 42 additions & 34 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)