Skip to content

Commit

Permalink
Merge pull request #2364 from cclauss/uv-v0.6.0
Browse files Browse the repository at this point in the history
Upgrade to uv>=0.6.0 and enable-cache
  • Loading branch information
staticdev authored Feb 18, 2025
2 parents a255775 + 37949c2 commit 7190d1d
Show file tree
Hide file tree
Showing 6 changed files with 9 additions and 9 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/integration.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,12 +22,12 @@ jobs:
uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}
cache: "pip"

- name: Install UV
uses: astral-sh/setup-uv@v5
with:
version: ">=0.5.24"
enable-cache: true
version: ">=0.6.0"

- name: Install dependencies
run: uv sync --all-extras --frozen
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,12 +22,12 @@ jobs:
uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}
cache: "pip"

- name: Install UV
uses: astral-sh/setup-uv@v5
with:
version: ">=0.5.24"
enable-cache: true
version: ">=0.6.0"

- name: Install dependencies
run: uv sync --all-extras --frozen
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/release-dev.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ jobs:
- name: Install UV
uses: astral-sh/setup-uv@v5
with:
version: ">=0.5.24"
version: ">=0.6.0"

- name: Build package
run: |
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ jobs:
- name: Install UV
uses: astral-sh/setup-uv@v5
with:
version: ">=0.5.24"
version: ">=0.6.0"

- name: Install dependencies
run: |
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,12 +27,12 @@ jobs:
uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}
cache: "pip"

- name: Install UV
uses: astral-sh/setup-uv@v5
with:
version: ">=0.5.24"
enable-cache: true
version: ">=0.6.0"

- name: Install dependencies
run: uv sync --all-extras --frozen
Expand Down
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ WORKDIR /isort
COPY pyproject.toml uv.lock /isort/

# Install uv
COPY --from=ghcr.io/astral-sh/uv:0.5.24 /uv /uvx /bin/
COPY --from=ghcr.io/astral-sh/uv:0.6.0 /uv /uvx /bin/

# Setup as minimal a stub project as possible, simply to allow caching base dependencies
# between builds.
Expand Down

0 comments on commit 7190d1d

Please sign in to comment.