diff --git a/.github/workflows/auth-acceptance.yml b/.github/workflows/auth-acceptance.yml index 52045b99..b19767b0 100644 --- a/.github/workflows/auth-acceptance.yml +++ b/.github/workflows/auth-acceptance.yml @@ -57,7 +57,7 @@ jobs: python-version: ${{ env.PYTHON_VERSION }} - name: Install uv - uses: astral-sh/setup-uv@v4 + uses: astral-sh/setup-uv@v6 - name: Install dependencies run: uv sync diff --git a/.github/workflows/build-release.yml b/.github/workflows/build-release.yml index f0fb7c73..8fbbff7b 100644 --- a/.github/workflows/build-release.yml +++ b/.github/workflows/build-release.yml @@ -61,18 +61,8 @@ jobs: with: python-version: ${{ env.PYTHON_VERSION }} - - name: Install uv (Unix) - if: matrix.platform != 'windows' - run: | - curl -LsSf https://astral.sh/uv/install.sh | sh - echo "$HOME/.cargo/bin" >> $GITHUB_PATH - - - name: Install uv (Windows) - if: matrix.platform == 'windows' - shell: pwsh - run: | - irm https://astral.sh/uv/install.ps1 | iex - echo "$env:USERPROFILE\.local\bin" | Out-File -FilePath $env:GITHUB_PATH -Encoding utf8 -Append + - name: Install uv + uses: astral-sh/setup-uv@v6 - name: Cache uv environments uses: actions/cache@v3 @@ -136,18 +126,8 @@ jobs: sudo apt-get update sudo apt-get install -y upx-ucl - - name: Install uv (Unix) - if: matrix.platform != 'windows' - run: | - curl -LsSf https://astral.sh/uv/install.sh | sh - echo "$HOME/.cargo/bin" >> $GITHUB_PATH - - - name: Install uv (Windows) - if: matrix.platform == 'windows' - shell: pwsh - run: | - irm https://astral.sh/uv/install.ps1 | iex - echo "$env:USERPROFILE\.local\bin" | Out-File -FilePath $env:GITHUB_PATH -Encoding utf8 -Append + - name: Install uv + uses: astral-sh/setup-uv@v6 - name: Install Python dependencies run: | @@ -217,9 +197,7 @@ jobs: run: brew install upx - name: Install uv - run: | - curl -LsSf https://astral.sh/uv/install.sh | sh - echo "$HOME/.cargo/bin" >> $GITHUB_PATH + uses: astral-sh/setup-uv@v6 - name: Install dependencies run: uv sync --extra dev --extra build @@ -318,9 +296,7 @@ jobs: run: brew install upx - name: Install uv - run: | - curl -LsSf https://astral.sh/uv/install.sh | sh - echo "$HOME/.cargo/bin" >> $GITHUB_PATH + uses: astral-sh/setup-uv@v6 - name: Install dependencies run: uv sync --extra dev --extra build @@ -433,18 +409,8 @@ jobs: with: python-version: ${{ env.PYTHON_VERSION }} - - name: Install uv (Unix) - if: matrix.platform != 'windows' - run: | - curl -LsSf https://astral.sh/uv/install.sh | sh - echo "$HOME/.cargo/bin" >> $GITHUB_PATH - - - name: Install uv (Windows) - if: matrix.platform == 'windows' - shell: pwsh - run: | - irm https://astral.sh/uv/install.ps1 | iex - echo "$env:USERPROFILE\.local\bin" | Out-File -FilePath $env:GITHUB_PATH -Encoding utf8 -Append + - name: Install uv + uses: astral-sh/setup-uv@v6 - name: Install test dependencies run: uv sync --extra dev diff --git a/.github/workflows/ci-integration.yml b/.github/workflows/ci-integration.yml index 592bbd41..bc500472 100644 --- a/.github/workflows/ci-integration.yml +++ b/.github/workflows/ci-integration.yml @@ -69,9 +69,7 @@ jobs: python-version: ${{ env.PYTHON_VERSION }} - name: Install uv - run: | - curl -LsSf https://astral.sh/uv/install.sh | sh - echo "$HOME/.cargo/bin" >> $GITHUB_PATH + uses: astral-sh/setup-uv@v6 - name: Cache uv environments uses: actions/cache@v3 @@ -127,9 +125,7 @@ jobs: python-version: ${{ env.PYTHON_VERSION }} - name: Install uv - run: | - curl -LsSf https://astral.sh/uv/install.sh | sh - echo "$HOME/.cargo/bin" >> $GITHUB_PATH + uses: astral-sh/setup-uv@v6 - name: Install test dependencies run: uv sync --extra dev diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 4cc14d3f..3c3c3028 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -35,9 +35,7 @@ jobs: python-version: ${{ env.PYTHON_VERSION }} - name: Install uv - run: | - curl -LsSf https://astral.sh/uv/install.sh | sh - echo "$HOME/.cargo/bin" >> $GITHUB_PATH + uses: astral-sh/setup-uv@v6 - name: Cache uv environments uses: actions/cache@v3 @@ -78,9 +76,7 @@ jobs: sudo apt-get install -y upx-ucl - name: Install uv - run: | - curl -LsSf https://astral.sh/uv/install.sh | sh - echo "$HOME/.cargo/bin" >> $GITHUB_PATH + uses: astral-sh/setup-uv@v6 - name: Install Python dependencies run: | diff --git a/.github/workflows/copilot-setup-steps.yml b/.github/workflows/copilot-setup-steps.yml index dcba339f..4012ccbf 100644 --- a/.github/workflows/copilot-setup-steps.yml +++ b/.github/workflows/copilot-setup-steps.yml @@ -36,7 +36,7 @@ jobs: python-version: '3.12' - name: Install uv - uses: astral-sh/setup-uv@v4 + uses: astral-sh/setup-uv@v6 - name: Sync dependencies with uv run: uv sync