Skip to content

Commit 631bd73

Browse files
author
Nick Frasser
committed
fix: install pipenv with pip instead of pipx
Should hopefully ensure correct env setup
1 parent 8fa332c commit 631bd73

File tree

1 file changed

+6
-5
lines changed

1 file changed

+6
-5
lines changed

.github/workflows/CI.yml

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -35,12 +35,13 @@ jobs:
3535
~/.cargo/git/db/
3636
target/
3737
key: ${{ runner.os }}-python-${{ matrix.python-version }}-cargo-${{ hashFiles('**/Cargo.lock') }}
38-
- name: Install pipenv
39-
run: pipx install pipenv
40-
- uses: actions/setup-python@v3
38+
- uses: actions/setup-python@v4
4139
with:
4240
python-version: ${{ matrix.python-version }}
43-
cache: 'pipenv'
41+
cache: 'pip'
42+
cache-dependency-path: 'Pipfile.lock'
43+
- name: pip install pipenv
44+
run: pip install -U pip pipenv
4445
- name: pipenv install
4546
run: pipenv install --dev --python ${{ matrix.python-version }}
4647
- run: pipenv run maturin develop
@@ -101,7 +102,7 @@ jobs:
101102
- uses: actions/download-artifact@v3
102103
with:
103104
name: wheels
104-
- uses: actions/setup-python@v3
105+
- uses: actions/setup-python@v4
105106
with:
106107
python-version: '3.10'
107108
- name: Publish to PyPI

0 commit comments

Comments
 (0)