Skip to content

Commit 12e2b80

Browse files
authored
[Fix] Fix ci cache issue (#56)
* Fix ci cache issue * Fix poetry cache issue * Add cache dependency path * reuse env cache in all flows * Add make setup-dev to every flow * Add make setup-dev to every flow
1 parent 76eae4b commit 12e2b80

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

.github/workflows/ci.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -51,6 +51,7 @@ jobs:
5151
with:
5252
path: .venv
5353
key: venv-${{ runner.os }}-3.9-${{ hashFiles('**/poetry.lock', '**/pyproject.toml') }}
54+
- run: make setup-dev
5455
- run: make check-format
5556
# Run Linting
5657
lint:
@@ -70,6 +71,7 @@ jobs:
7071
with:
7172
path: .venv
7273
key: venv-${{ runner.os }}-3.9-${{ hashFiles('**/poetry.lock', '**/pyproject.toml') }}
74+
- run: make setup-dev
7375
- run: make check-lint
7476
# Run Tests
7577
test:
@@ -89,6 +91,7 @@ jobs:
8991
with:
9092
path: .venv
9193
key: venv-${{ runner.os }}-3.9-${{ hashFiles('**/poetry.lock', '**/pyproject.toml') }}
94+
- run: make setup-dev
9295
- run: make test
9396
# Build Docs
9497
docs_build:
@@ -108,6 +111,7 @@ jobs:
108111
with:
109112
path: .venv
110113
key: venv-${{ runner.os }}-3.9-${{ hashFiles('**/poetry.lock', '**/pyproject.toml') }}
114+
- run: make setup-dev
111115
- run: make docs
112116
- uses: actions/upload-pages-artifact@v3
113117
with:

0 commit comments

Comments
 (0)