Skip to content

Commit 29b40af

Browse files
fix: adjust pull-request.yaml
1 parent 02d8780 commit 29b40af

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

.github/workflows/pull-request.yaml

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@ jobs:
99
steps:
1010
- uses: actions/checkout@v4
1111
- name: Setup Python 3.11
12+
id: setup-python
1213
uses: actions/setup-python@v4
1314
with:
1415
python-version: "3.11"
@@ -18,15 +19,12 @@ jobs:
1819
version: latest
1920
virtualenvs-create: true
2021
virtualenvs-in-project: true
21-
- name: Load cached venv
22-
id: cached-poetry-dependencies
22+
- name: Cache dependencies
2323
uses: actions/cache@v3
2424
with:
2525
path: .venv
2626
key: venv-${{ runner.os }}-${{ steps.setup-python.outputs.python-version }}-${{ hashFiles('**/poetry.lock') }}
2727
- name: Install dependencies
28-
run: poetry install --no-interaction --no-root
29-
- name: Install project
3028
run: poetry install --no-interaction
3129
- name: Lint
3230
run: poetry run pylint src/

0 commit comments

Comments
 (0)