Use uv image build with same python version
This commit is contained in:
parent
b4340176da
commit
62053a1048
3 changed files with 3 additions and 3 deletions
|
|
@ -5,7 +5,7 @@ when:
|
|||
|
||||
steps:
|
||||
- name: python linting
|
||||
image: ghcr.io/astral-sh/uv:latest
|
||||
image: ghcr.io/astral-sh/uv:python3.11-alpine
|
||||
commands:
|
||||
- uv sync --group ci
|
||||
- uv run --no-sync -- check src/
|
||||
|
|
|
|||
|
|
@ -15,7 +15,7 @@ services:
|
|||
|
||||
steps:
|
||||
- name: python tests
|
||||
image: python:3.11-alpine
|
||||
image: ghcr.io/astral-sh/uv:python3.11-alpine
|
||||
environment:
|
||||
DJANGO_SETTINGS_MODULE: "newsreader.conf.ci"
|
||||
DJANGO_SECRET_KEY: sekrit
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue