Skip to content

Commit

Permalink
Use direct URL for fetching tool install script in CI
Browse files Browse the repository at this point in the history
  • Loading branch information
ofek committed May 28, 2024
1 parent c339d33 commit 6d8ad71
Show file tree
Hide file tree
Showing 7 changed files with 10 additions and 10 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/build-distributions.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ jobs:
python-version: ${{ env.DIST_PYTHON_VERSION }}

- name: Install UV
run: curl -LsSf https://astral.sh/uv/install.sh | sh
run: curl -LsSf https://github.com/astral-sh/uv/releases/latest/download/uv-installer.sh | sh

- name: Install Hatch
if: inputs.version
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/build-hatch.yml
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ jobs:
python-version: ${{ env.PYTHON_VERSION }}

- name: Install UV
run: curl -LsSf https://astral.sh/uv/install.sh | sh
run: curl -LsSf https://github.com/astral-sh/uv/releases/latest/download/uv-installer.sh | sh

- name: Install tools
run: uv pip install --system build hatch
Expand Down Expand Up @@ -158,7 +158,7 @@ jobs:
python-version: ${{ env.PYTHON_VERSION }}

- name: Install UV
run: curl -LsSf https://astral.sh/uv/install.sh | sh
run: curl -LsSf https://github.com/astral-sh/uv/releases/latest/download/uv-installer.sh | sh

- name: Install Hatch
run: |-
Expand Down Expand Up @@ -284,7 +284,7 @@ jobs:
python-version: ${{ env.PYTHON_VERSION }}

- name: Install UV
run: curl -LsSf https://astral.sh/uv/install.sh | sh
run: curl -LsSf https://github.com/astral-sh/uv/releases/latest/download/uv-installer.sh | sh

- name: Install PyOxidizer ${{ env.PYOXIDIZER_VERSION }}
run: uv pip install --system pyoxidizer==${{ env.PYOXIDIZER_VERSION }}
Expand Down Expand Up @@ -370,7 +370,7 @@ jobs:
python-version: ${{ env.PYTHON_VERSION }}

- name: Install UV
run: curl -LsSf https://astral.sh/uv/install.sh | sh
run: curl -LsSf https://github.com/astral-sh/uv/releases/latest/download/uv-installer.sh | sh

- name: Install PyOxidizer ${{ env.PYOXIDIZER_VERSION }}
run: uv pip install --system pyoxidizer==${{ env.PYOXIDIZER_VERSION }}
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/build-hatchling.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ jobs:
python-version: ${{ env.PYTHON_VERSION }}

- name: Install UV
run: curl -LsSf https://astral.sh/uv/install.sh | sh
run: curl -LsSf https://github.com/astral-sh/uv/releases/latest/download/uv-installer.sh | sh

- name: Install build dependencies
run: uv pip install --system --upgrade build
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/cli.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ jobs:
python-version: ${{ env.STABLE_PYTHON_VERSION }}

- name: Install UV
run: curl -LsSf https://astral.sh/uv/install.sh | sh
run: curl -LsSf https://github.com/astral-sh/uv/releases/latest/download/uv-installer.sh | sh

- name: Install hyperfine
uses: taiki-e/install-action@v2
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/docs-dev.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ jobs:
run: python scripts/validate_history.py

- name: Install UV
run: curl -LsSf https://astral.sh/uv/install.sh | sh
run: curl -LsSf https://github.com/astral-sh/uv/releases/latest/download/uv-installer.sh | sh

- name: Install ourself
run: |
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/docs-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ jobs:
run: python scripts/validate_history.py

- name: Install UV
run: curl -LsSf https://astral.sh/uv/install.sh | sh
run: curl -LsSf https://github.com/astral-sh/uv/releases/latest/download/uv-installer.sh | sh

- name: Install ourself
run: |
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ jobs:
python-version: ${{ matrix.python-version }}

- name: Install UV
run: curl -LsSf https://astral.sh/uv/install.sh | sh
run: curl -LsSf https://github.com/astral-sh/uv/releases/latest/download/uv-installer.sh | sh

- name: Install ourself
run: |
Expand Down

0 comments on commit 6d8ad71

Please sign in to comment.