Skip to content

Commit 6737709

Browse files
committed
sync build workflow
1 parent 82fd178 commit 6737709

1 file changed

Lines changed: 6 additions & 15 deletions

File tree

.github/workflows/build.enhanced.yaml

Lines changed: 6 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -50,14 +50,11 @@ jobs:
5050
with:
5151
python-version: ${{ env.PYTHON_VERSION }}
5252
cache: pip
53-
cache-dependency-path: |
54-
requirements.txt
55-
requirements-dev.txt
53+
cache-dependency-path: pyproject.toml
5654

5755
- name: Install dependencies
5856
run: |
59-
python -m pip install -r requirements.txt
60-
python -m pip install -r requirements-dev.txt
57+
python -m pip install ".[dev]"
6158
6259
- name: Prepare release requirements
6360
env:
@@ -126,14 +123,11 @@ jobs:
126123
with:
127124
python-version: ${{ env.PYTHON_VERSION }}
128125
cache: pip
129-
cache-dependency-path: |
130-
requirements.txt
131-
requirements-dev.txt
126+
cache-dependency-path: pyproject.toml
132127

133128
- name: Install dependencies
134129
run: |
135-
python -m pip install -r requirements.txt
136-
python -m pip install -r requirements-dev.txt
130+
python -m pip install ".[dev]"
137131
138132
- name: Prepare release requirements
139133
env:
@@ -190,14 +184,11 @@ jobs:
190184
with:
191185
python-version: ${{ env.PYTHON_VERSION }}
192186
cache: pip
193-
cache-dependency-path: |
194-
requirements.txt
195-
requirements-dev.txt
187+
cache-dependency-path: pyproject.toml
196188

197189
- name: Install dependencies
198190
run: |
199-
python -m pip install -r requirements.txt
200-
python -m pip install -r requirements-dev.txt
191+
python -m pip install ".[dev]"
201192
202193
- name: Prepare release requirements
203194
env:

0 commit comments

Comments
 (0)