Skip to content

Commit

Permalink
Update uv actiona and pin uv version to 0.5.11 (#4820)
Browse files Browse the repository at this point in the history
  • Loading branch information
ekzhu authored Dec 26, 2024
1 parent 0040016 commit 501d8bb
Show file tree
Hide file tree
Showing 5 changed files with 30 additions and 15 deletions.
24 changes: 16 additions & 8 deletions .github/workflows/checks.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,9 +15,10 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: astral-sh/setup-uv@v3
- uses: astral-sh/setup-uv@v5
with:
enable-cache: true
version: "0.5.11"
- uses: actions/setup-python@v5
with:
python-version: "3.11"
Expand All @@ -33,9 +34,10 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: astral-sh/setup-uv@v3
- uses: astral-sh/setup-uv@v5
with:
enable-cache: true
version: "0.5.11"
- uses: actions/setup-python@v5
with:
python-version: "3.11"
Expand All @@ -61,9 +63,10 @@ jobs:
]
steps:
- uses: actions/checkout@v4
- uses: astral-sh/setup-uv@v3
- uses: astral-sh/setup-uv@v5
with:
enable-cache: true
version: "0.5.11"
- uses: actions/setup-python@v5
with:
python-version: "3.11"
Expand All @@ -89,9 +92,10 @@ jobs:
]
steps:
- uses: actions/checkout@v4
- uses: astral-sh/setup-uv@v3
- uses: astral-sh/setup-uv@v5
with:
enable-cache: true
version: "0.5.11"
- uses: actions/setup-python@v5
with:
python-version: "3.11"
Expand All @@ -115,9 +119,10 @@ jobs:
]
steps:
- uses: actions/checkout@v4
- uses: astral-sh/setup-uv@v3
- uses: astral-sh/setup-uv@v5
with:
enable-cache: true
version: "0.5.11"
- uses: actions/setup-python@v5
with:
python-version: "3.11"
Expand All @@ -139,9 +144,10 @@ jobs:
package: ["./packages/autogen-core"]
steps:
- uses: actions/checkout@v4
- uses: astral-sh/setup-uv@v3
- uses: astral-sh/setup-uv@v5
with:
enable-cache: true
version: "0.5.11"
- uses: actions/setup-python@v5
with:
python-version: "3.11"
Expand All @@ -160,9 +166,10 @@ jobs:
package: ["./packages/autogen-core"]
steps:
- uses: actions/checkout@v4
- uses: astral-sh/setup-uv@v3
- uses: astral-sh/setup-uv@v5
with:
enable-cache: true
version: "0.5.11"
- uses: actions/setup-python@v5
with:
python-version: "3.11"
Expand All @@ -178,9 +185,10 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: astral-sh/setup-uv@v3
- uses: astral-sh/setup-uv@v5
with:
enable-cache: true
version: "0.5.11"
- uses: actions/setup-python@v5
with:
python-version: "3.11"
Expand Down
3 changes: 2 additions & 1 deletion .github/workflows/codeql.yml
Original file line number Diff line number Diff line change
Expand Up @@ -73,9 +73,10 @@ jobs:
- name: list available kernels
run: |
python -m jupyter kernelspec list
- uses: astral-sh/setup-uv@v3
- uses: astral-sh/setup-uv@v5
with:
enable-cache: true
version: "0.5.11"
- run: uv sync --locked --all-extras
working-directory: ./python
- name: Prepare python venv
Expand Down
6 changes: 4 additions & 2 deletions .github/workflows/docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -51,9 +51,10 @@ jobs:
with:
lfs: "true"
ref: ${{ matrix.version.ref }}
- uses: astral-sh/setup-uv@v3
- uses: astral-sh/setup-uv@v5
with:
enable-cache: true
version: "0.5.11"
- uses: actions/setup-python@v5
with:
python-version: "3.11"
Expand Down Expand Up @@ -99,9 +100,10 @@ jobs:
with:
lfs: "true"
ref: ${{ matrix.version.ref }}
- uses: astral-sh/setup-uv@v3
- uses: astral-sh/setup-uv@v5
with:
enable-cache: true
version: "0.5.11"
- uses: actions/setup-python@v5
with:
python-version: "3.11"
Expand Down
9 changes: 6 additions & 3 deletions .github/workflows/dotnet-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -76,9 +76,10 @@ jobs:
- name: list available kernels
run: |
python -m jupyter kernelspec list
- uses: astral-sh/setup-uv@v3
- uses: astral-sh/setup-uv@v5
with:
enable-cache: true
version: "0.5.11"
- run: uv sync --locked --all-extras
working-directory: ./python
- name: Prepare python venv
Expand Down Expand Up @@ -119,9 +120,10 @@ jobs:
- uses: actions/checkout@v4
with:
lfs: true
- uses: astral-sh/setup-uv@v3
- uses: astral-sh/setup-uv@v5
with:
enable-cache: true
version: "0.5.11"
- uses: actions/setup-python@v5
with:
python-version: "3.11"
Expand Down Expand Up @@ -203,9 +205,10 @@ jobs:
- name: list available kernels
run: |
python -m jupyter kernelspec list
- uses: astral-sh/setup-uv@v3
- uses: astral-sh/setup-uv@v5
with:
enable-cache: true
version: "0.5.11"
- uses: actions/setup-python@v5
with:
python-version: "3.11"
Expand Down
3 changes: 2 additions & 1 deletion .github/workflows/single-python-package.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,9 +32,10 @@ jobs:
ref: ${{ github.event.inputs.ref }}
# Require ref to be a tag
- run: git show-ref --verify refs/tags/${{ github.event.inputs.ref }}
- uses: astral-sh/setup-uv@v3
- uses: astral-sh/setup-uv@v5
with:
enable-cache: true
version: "0.5.11"
- run: uv build --package ${{ github.event.inputs.package }} --out-dir dist/
working-directory: python
- name: Publish package to PyPI
Expand Down

0 comments on commit 501d8bb

Please sign in to comment.