Skip to content

Commit 7dfd6c9

Browse files
authored
Use pipx to install hatch in build workflow (#121)
1 parent 7eeb360 commit 7dfd6c9

File tree

1 file changed

+2
-7
lines changed

1 file changed

+2
-7
lines changed

.github/workflows/build.yml

Lines changed: 2 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -17,10 +17,7 @@ jobs:
1717
with:
1818
python-version: ${{ matrix.python_version }}
1919
- name: Install dependencies
20-
run: |
21-
python -m pip install --upgrade pip
22-
pip install hatch
23-
hatch env create
20+
run: pipx install hatch
2421
- name: Lint and typecheck
2522
run: |
2623
hatch run lint-check
@@ -50,9 +47,7 @@ jobs:
5047
python-version: '3.11'
5148
- name: Install dependencies
5249
shell: bash
53-
run: |
54-
python -m pip install --upgrade pip
55-
pip install hatch
50+
run: pipx install hatch
5651
- name: mint API token
5752
id: mint-token
5853
run: |

0 commit comments

Comments
 (0)