Skip to content

Commit

Permalink
fix: ci
Browse files Browse the repository at this point in the history
  • Loading branch information
martabal committed Jan 27, 2025
1 parent 15e7825 commit 9dc3bcb
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 14 deletions.
9 changes: 3 additions & 6 deletions .github/workflows/docker.yml
Original file line number Diff line number Diff line change
Expand Up @@ -125,13 +125,10 @@ jobs:
- name: Install uv
uses: astral-sh/setup-uv@v5

- name: Set up Python
run: |
uv venv
uv python install
- name: Install python dependencies
run: uv pip install -r pyproject.toml
run: |
uv venv
uv pip install -r pyproject.toml
- name: Create Dockerfile from template
run: uv run python3 -m render_templates.main --flavor ${{ matrix.image }} --print-dockerfile --enable-patches --immich-version ${{ steps.tags.outputs.immich_version }}
Expand Down
15 changes: 7 additions & 8 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,10 +22,10 @@ jobs:
- name: Install uv
uses: astral-sh/setup-uv@v5

- name: Set up Python
uses: actions/setup-python@v5
with:
python-version-file: pyproject.toml
- name: Install python dependencies
run: |
uv venv
uv pip install -r pyproject.toml
- name: Run python linter
run: uv run ruff check render_templates
Expand Down Expand Up @@ -53,11 +53,10 @@ jobs:
- name: Install uv
uses: astral-sh/setup-uv@v5

- name: Set up Python
run: uv python install

- name: Install python dependencies
run: uv pip install -r pyproject.toml
run: |
uv venv
uv pip install -r pyproject.toml
- name: Create Dockerfile from template
run: uv run python3 -m render_templates.main --flavor ${{ matrix.flavor }}
Expand Down

0 comments on commit 9dc3bcb

Please sign in to comment.