File tree Expand file tree Collapse file tree 5 files changed +561
-282
lines changed Expand file tree Collapse file tree 5 files changed +561
-282
lines changed Original file line number Diff line number Diff line change
1
+ # https://docs.github.com/en/code-security/dependabot/dependabot-version-updates/optimizing-pr-creation-version-updates#setting-up-a-cooldown-period-for-dependency-updates
2
+
1
3
version : 2
2
4
updates :
3
- - package-ecosystem : " pip"
5
+ - package-ecosystem : " docker"
6
+ directory : " /"
7
+ schedule :
8
+ interval : " weekly"
9
+ - package-ecosystem : " github-actions"
10
+ directory : " /"
11
+ schedule :
12
+ interval : " weekly"
13
+ groups : # https://docs.github.com/en/code-security/dependabot/working-with-dependabot/dependabot-options-reference#groups--
14
+ actions :
15
+ patterns : ["*"] # Combine all images of last week
16
+ - package-ecosystem : " uv"
4
17
directory : " /"
5
18
schedule :
6
19
interval : " daily"
Original file line number Diff line number Diff line change 11
11
env :
12
12
CI : true
13
13
COLUMNS : 120
14
+ PYTHON_VERSION : " 3.13"
14
15
15
16
permissions :
16
17
contents : read
23
24
24
25
- uses : astral-sh/setup-uv@0c5e2b8115b80b4c7c5ddf6ffdd634974642d182 # v5.4.1
25
26
with :
26
- python-version : " 3.12 "
27
+ python-version : ${{ env.PYTHON_VERSION }}
27
28
28
29
- name : Install dependencies
29
30
run : uv sync --frozen --all-extras --all-packages
44
45
45
46
- uses : astral-sh/setup-uv@0c5e2b8115b80b4c7c5ddf6ffdd634974642d182 # v5.4.1
46
47
with :
47
- python-version : " 3.12 "
48
+ python-version : ${{ env.PYTHON_VERSION }}
48
49
49
50
- name : Install dependencies
50
51
run : uv sync --frozen --all-extras --all-packages
94
95
95
96
- uses : astral-sh/setup-uv@0c5e2b8115b80b4c7c5ddf6ffdd634974642d182 # v5.4.1
96
97
with :
97
- python-version : " 3.12 "
98
+ python-version : ${{ env.PYTHON_VERSION }}
98
99
99
100
- run : uv sync --frozen
100
101
- run : uv run --frozen coverage combine coverage
@@ -134,7 +135,7 @@ jobs:
134
135
135
136
- uses : astral-sh/setup-uv@0c5e2b8115b80b4c7c5ddf6ffdd634974642d182 # v5.4.1
136
137
with :
137
- python-version : " 3.12 "
138
+ python-version : ${{ env.PYTHON_VERSION }}
138
139
139
140
- name : check GITHUB_REF matches package version
140
141
uses : samuelcolvin/check-python-version@758a13b52c26833cffda0f2ed4f3c9e54d9186d9 # v4.1
Original file line number Diff line number Diff line change 17
17
- uses : actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
18
18
- uses : astral-sh/setup-uv@0c5e2b8115b80b4c7c5ddf6ffdd634974642d182 # v5.4.1
19
19
with :
20
- python-version : " 3.12 "
20
+ python-version : " 3.10 " # stay compatible with requires-python
21
21
- run : uv lock
22
22
- uses : stefanzweifel/git-auto-commit-action@e348103e9026cc0eee72ae06630dbe30c8bf7a79 # v5.1.0
23
23
with :
Original file line number Diff line number Diff line change 1
1
# Build stage with explicit platform specification
2
- FROM ghcr.io/astral-sh/uv:python3.12 -alpine AS uv
2
+ FROM ghcr.io/astral-sh/uv:python3.13 -alpine AS uv
3
3
4
4
# Install the project into /app
5
5
WORKDIR /app
@@ -23,7 +23,7 @@ RUN --mount=type=cache,target=/root/.cache/uv \
23
23
uv sync --frozen --no-dev --no-editable
24
24
25
25
# Final stage with explicit platform specification
26
- FROM python:3.12 -alpine
26
+ FROM python:3.13 -alpine
27
27
28
28
COPY --from=uv --chown=app:app /app/.venv /app/.venv
29
29
You can’t perform that action at this time.
0 commit comments