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 d6b4423
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 6 deletions.
10 changes: 6 additions & 4 deletions .github/workflows/docker.yml
Original file line number Diff line number Diff line change
Expand Up @@ -126,12 +126,14 @@ jobs:
uses: astral-sh/setup-uv@v5

- name: Set up Python
run: |
uv venv
uv python install
uses: actions/setup-python@v5
with:
python-version-file: pyproject.toml

- 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
13 changes: 11 additions & 2 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,11 @@ jobs:
with:
python-version-file: pyproject.toml

- name: Install python dependencies
run: |
uv venv
uv sync
- name: Run python linter
run: uv run ruff check render_templates
if: ${{ !cancelled() }}
Expand Down Expand Up @@ -54,10 +59,14 @@ jobs:
uses: astral-sh/setup-uv@v5

- name: Set up Python
run: uv python install
uses: actions/setup-python@v5
with:
python-version-file: pyproject.toml

- 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 d6b4423

Please sign in to comment.