Skip to content

Commit 7da044c

Browse files
committed
chore(build): remove unneeded steps from gh actions
1 parent fa992b1 commit 7da044c

File tree

2 files changed

+4
-23
lines changed

2 files changed

+4
-23
lines changed

.github/workflows/build-test-package-publish.yml

Lines changed: 3 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -48,11 +48,7 @@ jobs:
4848
with:
4949
python-version: ${{ matrix.python-version }}
5050

51-
# - name: Ensure latest pip is installed
52-
# run: python -m pip install --upgrade uv
53-
5451
- name: Ensure latest hatch is installed
55-
# run: python -m uv pip install --upgrade hatch
5652
run: pipx install hatch
5753

5854
- name: Test Python Packages
@@ -111,11 +107,8 @@ jobs:
111107
with:
112108
python-version: "3.8"
113109

114-
- name: Ensure latest pip is installed
115-
run: python -m pip install --upgrade pip
116-
117110
- name: Ensure latest hatch is installed
118-
run: python -m pip install --upgrade hatch
111+
run: pipx install hatch
119112

120113
- run: hatch run lint:style
121114
if: always()
@@ -142,11 +135,8 @@ jobs:
142135
with:
143136
python-version: "3.8"
144137

145-
- name: Ensure latest pip is installed
146-
run: python -m pip install --upgrade pip
147-
148138
- name: Ensure latest hatch is installed
149-
run: python -m pip install --upgrade hatch
139+
run: pipx install hatch
150140

151141
- name: Setup Node.js environment
152142
uses: actions/setup-node@v4
@@ -204,14 +194,8 @@ jobs:
204194
with:
205195
python-version: "3.8"
206196

207-
- name: Ensure latest pip is installed
208-
run: python -m pip install --upgrade pip
209-
210197
- name: Ensure latest hatch is installed
211-
run: python -m pip install --upgrade hatch
212-
213-
- name: Create Build Environment
214-
run: hatch env create build
198+
run: pipx install hatch
215199

216200
- name: Setup Node.js environment
217201
uses: actions/setup-node@v4

.github/workflows/codeql-analysis.yml

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -37,11 +37,8 @@ jobs:
3737
with:
3838
python-version: "3.8"
3939

40-
- name: Ensure latest pip is installed
41-
run: python -m pip install --upgrade pip
42-
4340
- name: Ensure latest hatch is installed
44-
run: python -m pip install --upgrade hatch
41+
run: pipx install hatch
4542

4643
- name: Create dev environment
4744
run: |

0 commit comments

Comments
 (0)