Skip to content

Commit

Permalink
Use hatch action (#386)
Browse files Browse the repository at this point in the history
* Use hatch action

* Change run to uses
  • Loading branch information
kjy5 authored Sep 22, 2024
1 parent 4a38593 commit eb10f52
Showing 1 changed file with 1 addition and 7 deletions.
8 changes: 1 addition & 7 deletions .github/workflows/autoformat-and-lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,14 +22,8 @@ jobs:
ref: ${{ github.head_ref }}
token: ${{ secrets.WORKFLOW_COMMIT }}

- name: 🐍 Setup Python
uses: actions/setup-python@v5
with:
python-version: '3.12'
cache: 'pip'

- name: 📦 Install Hatch
run: pip install hatch
uses: pypa/hatch@install

- name: 📝 Format Code
run: hatch fmt -f
Expand Down

0 comments on commit eb10f52

Please sign in to comment.