Skip to content

Commit cc7f833

Browse files
committed
chore: update workflows to use hatch github action
1 parent 2d3b190 commit cc7f833

File tree

1 file changed

+8
-8
lines changed

1 file changed

+8
-8
lines changed

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

+8-8
Original file line numberDiff line numberDiff line change
@@ -49,8 +49,8 @@ jobs:
4949
with:
5050
python-version: ${{ matrix.python-version }}
5151

52-
- name: Ensure latest hatch is installed
53-
run: pipx install hatch
52+
- name: Install Hatch
53+
uses: pypa/hatch@install
5454

5555
- name: Test Python Packages
5656
uses: nick-fields/retry@v3
@@ -111,8 +111,8 @@ jobs:
111111
with:
112112
python-version: "3.8"
113113

114-
- name: Ensure latest hatch is installed
115-
run: pipx install hatch
114+
- name: Install Hatch
115+
uses: pypa/hatch@install
116116

117117
- name: Gradle Wrapper Validation
118118
uses: gradle/actions/wrapper-validation@v4
@@ -166,8 +166,8 @@ jobs:
166166
with:
167167
python-version: "3.8"
168168

169-
- name: Ensure latest hatch is installed
170-
run: pipx install hatch
169+
- name: Install Hatch
170+
uses: pypa/hatch@install
171171

172172
- name: Setup Node.js environment
173173
uses: actions/setup-node@v4
@@ -255,8 +255,8 @@ jobs:
255255
with:
256256
python-version: "3.8"
257257

258-
- name: Ensure latest hatch is installed
259-
run: pipx install hatch
258+
- name: Install Hatch
259+
uses: pypa/hatch@install
260260

261261
- name: Setup Node.js environment
262262
uses: actions/setup-node@v4

0 commit comments

Comments
 (0)