mirror of
https://github.com/davidhalter/typeshed.git
synced 2025-12-07 20:54:28 +08:00
Use astral-sh/setup-uv to install uv in CI (#13311)
This commit is contained in:
3
.github/workflows/daily.yml
vendored
3
.github/workflows/daily.yml
vendored
@@ -121,8 +121,7 @@ jobs:
|
||||
- uses: actions/setup-python@v5
|
||||
with:
|
||||
python-version: "3.12"
|
||||
- name: Install uv
|
||||
run: curl -LsSf https://astral.sh/uv/install.sh | sh
|
||||
- uses: astral-sh/setup-uv@v5
|
||||
- name: Run tests
|
||||
run: |
|
||||
cd stub_uploader
|
||||
|
||||
9
.github/workflows/tests.yml
vendored
9
.github/workflows/tests.yml
vendored
@@ -43,8 +43,7 @@ jobs:
|
||||
with:
|
||||
# Max supported Python version as of pytype 2024.9.13
|
||||
python-version: "3.12"
|
||||
- name: Install uv
|
||||
run: curl -LsSf https://astral.sh/uv/install.sh | sh
|
||||
- uses: astral-sh/setup-uv@v5
|
||||
- run: uv pip install -r requirements-tests.txt --system
|
||||
- name: Install external dependencies for 3rd-party stubs
|
||||
run: |
|
||||
@@ -121,8 +120,7 @@ jobs:
|
||||
- uses: actions/setup-python@v5
|
||||
with:
|
||||
python-version: "3.12"
|
||||
- name: Install uv
|
||||
run: curl -LsSf https://astral.sh/uv/install.sh | sh
|
||||
- uses: astral-sh/setup-uv@v5
|
||||
- name: Install typeshed test-suite requirements
|
||||
# Install these so we can run `get_external_stub_requirements.py`
|
||||
run: uv pip install -r requirements-tests.txt --system
|
||||
@@ -183,8 +181,7 @@ jobs:
|
||||
- uses: actions/setup-python@v5
|
||||
with:
|
||||
python-version: "3.12"
|
||||
- name: Install uv
|
||||
run: curl -LsSf https://astral.sh/uv/install.sh | sh
|
||||
- uses: astral-sh/setup-uv@v5
|
||||
- name: Run tests
|
||||
run: |
|
||||
cd stub_uploader
|
||||
|
||||
Reference in New Issue
Block a user