From ade063c5de18ce4febd6494854c62ba6923fcdb6 Mon Sep 17 00:00:00 2001 From: Steven Silvester Date: Sun, 26 May 2024 20:47:59 -0500 Subject: [PATCH] Use hatch install action --- .github/actions/base-setup/action.yml | 12 +++++------- 1 file changed, 5 insertions(+), 7 deletions(-) diff --git a/.github/actions/base-setup/action.yml b/.github/actions/base-setup/action.yml index a4193d8..87d0228 100644 --- a/.github/actions/base-setup/action.yml +++ b/.github/actions/base-setup/action.yml @@ -108,17 +108,15 @@ runs: run: Set-ItemProperty -Path HKLM:\SYSTEM\CurrentControlSet\Control\FileSystem -Name LongPathsEnabled -Value 1 shell: pwsh - - name: Upgrade packaging dependencies + - name: Install Hatch + uses: pypa/hatch@install + + - name: Upgrade pip shell: bash run: | set -eux - echo "::group::Upgrade packaging dependencies" + echo "::group::Upgrade pip" python -m pip install --upgrade pip - if [ "$RUNNER_OS" != "Windows" ]; then - pipx install hatch --python $(which python) - else - pipx install hatch - fi echo "::endgroup::" - name: Handle dependency type