Skip to content

Commit

Permalink
Update uv version for Docker, add comments to workflows (mozilla#3487)
Browse files Browse the repository at this point in the history
  • Loading branch information
flodolo authored Dec 12, 2024
1 parent e05d628 commit 5e90a8a
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 2 deletions.
1 change: 1 addition & 0 deletions .github/workflows/backend.yml
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,7 @@ jobs:
enable-cache: true
cache-dependency-glob: |
**/requirements/*.txt
# Version should match the one used in docker/Dockerfile
version: "0.5.7"
- name: Install requirements
run: >
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/py-lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,7 @@ jobs:
enable-cache: true
cache-dependency-glob: |
**/requirements/*.txt
# Version should match the one used in docker/Dockerfile
version: "0.5.7"
- name: Install Dependencies
run: uv pip install -r requirements/lint.txt
Expand Down
4 changes: 2 additions & 2 deletions docker/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -29,8 +29,8 @@ RUN apt-get update \
# Clean up what can be cleaned up.
&& apt-get autoremove -y

# Install uv
COPY --from=ghcr.io/astral-sh/uv:0.4.13 /uv /bin/uv
# Install uv (version should match the one used in Python GitHub workflows)
COPY --from=ghcr.io/astral-sh/uv:0.5.7 /uv /bin/uv

WORKDIR /app

Expand Down

0 comments on commit 5e90a8a

Please sign in to comment.