Skip to content

Commit eb10f52

Browse files
authored
Use hatch action (#386)
* Use hatch action * Change run to uses
1 parent 4a38593 commit eb10f52

File tree

1 file changed

+1
-7
lines changed

1 file changed

+1
-7
lines changed

.github/workflows/autoformat-and-lint.yml

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -22,14 +22,8 @@ jobs:
2222
ref: ${{ github.head_ref }}
2323
token: ${{ secrets.WORKFLOW_COMMIT }}
2424

25-
- name: 🐍 Setup Python
26-
uses: actions/setup-python@v5
27-
with:
28-
python-version: '3.12'
29-
cache: 'pip'
30-
3125
- name: 📦 Install Hatch
32-
run: pip install hatch
26+
uses: pypa/hatch@install
3327

3428
- name: 📝 Format Code
3529
run: hatch fmt -f

0 commit comments

Comments
 (0)