Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,8 @@ jobs:
with:
python-version: "3.12"
- uses: pypa/hatch@install
with:
version: "1.15.1"
- run: hatch run types:check
fmt:
name: Format and lint
Expand All @@ -28,6 +30,8 @@ jobs:
with:
python-version: "3.12"
- uses: pypa/hatch@install
with:
version: "1.15.1"
- run: hatch fmt --check

tests:
Expand Down Expand Up @@ -75,6 +79,8 @@ jobs:
with:
python-version: ${{ matrix.python }}
- uses: pypa/hatch@install
with:
version: "1.15.1"

- name: Skip tests for non-code changes
if: steps.filter.outputs.code-changes == 'false'
Expand Down
2 changes: 2 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,8 @@ jobs:
python-version: "3.12"
- name: Install hatch
uses: pypa/hatch@install
with:
version: "1.15.1"
- name: Check versions match
run: |
pkg_version=$(hatch version)
Expand Down