Skip to content

Commit bc598c0

Browse files
committed
chore: hermetic CI with a pinned uv, locked syncs and a dependency cooldown
1 parent 802f949 commit bc598c0

5 files changed

Lines changed: 293 additions & 264 deletions

File tree

‎.github/renovate.json‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
{
22
"$schema": "https://docs.renovatebot.com/renovate-schema.json",
3-
"extends": ["github>python-scim/renovate-config#1.0.1"]
3+
"extends": ["github>python-scim/renovate-config#1.0.3"]
44
}

‎.github/workflows/release.yml‎

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,9 @@ on:
55
tags:
66
- '*'
77

8+
env:
9+
UV_LOCKED: 1
10+
811
permissions:
912
contents: read
1013

@@ -17,6 +20,8 @@ jobs:
1720
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
1821
- name: Install uv
1922
uses: astral-sh/setup-uv@bec219d24cd3e171d82865faccec33120bb574f4 # v10.1.0
23+
with:
24+
version: "0.12.13"
2025
- name: install dependencies
2126
run: uv sync --group bundle
2227
- name: build dist

‎.github/workflows/tests.yaml‎

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,9 @@ on:
1010
- main
1111
- '*.*.*'
1212

13+
env:
14+
UV_LOCKED: 1
15+
1316
permissions:
1417
contents: read
1518

@@ -31,6 +34,7 @@ jobs:
3134
- name: Install uv
3235
uses: astral-sh/setup-uv@bec219d24cd3e171d82865faccec33120bb574f4 # v10.1.0
3336
with:
37+
version: "0.12.13"
3438
enable-cache: true
3539
- name: Install Python ${{ matrix.python }}
3640
run: uv python install ${{ matrix.python }}
@@ -42,11 +46,13 @@ jobs:
4246
runs-on: ubuntu-latest
4347
env:
4448
UV_RESOLUTION: lowest-direct
49+
UV_LOCKED: 0
4550
steps:
4651
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
4752
- name: Install uv
4853
uses: astral-sh/setup-uv@bec219d24cd3e171d82865faccec33120bb574f4 # v10.1.0
4954
with:
55+
version: "0.12.13"
5056
enable-cache: true
5157
- name: Install minimum dependencies
5258
run: uv sync
@@ -66,6 +72,7 @@ jobs:
6672
- name: Install uv
6773
uses: astral-sh/setup-uv@bec219d24cd3e171d82865faccec33120bb574f4 # v10.1.0
6874
with:
75+
version: "0.12.13"
6976
enable-cache: true
7077
- name: Install dependencies
7178
run: uv sync --group doc
@@ -78,6 +85,7 @@ jobs:
7885
- name: Install uv
7986
uses: astral-sh/setup-uv@bec219d24cd3e171d82865faccec33120bb574f4 # v10.1.0
8087
with:
88+
version: "0.12.13"
8189
enable-cache: true
8290
- name: Install dependencies
8391
run: uv sync --group bundle

‎pyproject.toml‎

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
[build-system]
2-
requires = ["uv_build>=0.12.16,<0.13.0"]
2+
requires = ["uv_build>=0.12.13,<0.13.0"]
33
build-backend = "uv_build"
44

55
[project]
@@ -68,6 +68,10 @@ bundle = [
6868
scim = "scim2_cli:cli"
6969
scim2 = "scim2_cli:cli"
7070

71+
[tool.uv]
72+
exclude-newer = "14 days"
73+
exclude-newer-package = { scim2-models = false, scim2-client = false, scim2-server = false, scim2-cli = false, scim2-tester = false, pytest-scim2-server = false }
74+
7175
[tool.uv.build-backend]
7276
module-root = ""
7377

0 commit comments

Comments
 (0)