diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 86e2fc72..76c231bb 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -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 @@ -28,6 +30,8 @@ jobs: with: python-version: "3.12" - uses: pypa/hatch@install + with: + version: "1.15.1" - run: hatch fmt --check tests: @@ -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' diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 22a86ff8..f45850e2 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -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)