diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 592cc32..1620807 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -10,8 +10,8 @@ jobs: runs-on: ${{ matrix.os }} steps: - uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6 - - name: Install dependencies - run: pipx install hatch + - name: Install Hatch + uses: pypa/hatch@install - name: Lint and typecheck run: | hatch fmt --linter @@ -36,9 +36,8 @@ jobs: steps: - uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6 - - name: Install dependencies - shell: bash - run: pipx install hatch + - name: Install Hatch + uses: pypa/hatch@install - name: mint API token id: mint-token run: | diff --git a/.github/workflows/documentation.yml b/.github/workflows/documentation.yml index d02e4b1..b1b1938 100644 --- a/.github/workflows/documentation.yml +++ b/.github/workflows/documentation.yml @@ -28,12 +28,8 @@ jobs: steps: - uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6 - - name: Set up Python - uses: actions/setup-python@a309ff8b426b58ec0e2a45f0f869d46889d02405 # v6 - - name: Install dependencies - run: | - pipx install hatch - hatch env create + - name: Install Hatch + uses: pypa/hatch@install - name: Build run: hatch run docs-build - name: Upload artifact