@@ -29,14 +29,13 @@ jobs:
2929 strategy :
3030 matrix :
3131 python-version : ["3.10", "3.11", "3.12", "3.13"]
32- pydantic-version : ["pydantic-v1", "pydantic-v2"]
3332 fail-fast : false
3433
3534 steps :
3635 - uses : actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v6.0.1
3736 with :
3837 persist-credentials : false
39- - uses : astral-sh/setup-uv@1e862dfacbd1d6d858c55d9b792c756523627244 # v7.1.4
38+ - uses : astral-sh/setup-uv@681c641aba71e4a1c380be3ab5e12ad51f415867 # v7.1.6
4039 with :
4140 version : " latest"
4241 - name : Set up Python
@@ -46,22 +45,16 @@ jobs:
4645 - name : Install Dependencies
4746 run : |
4847 uv pip install --system --group optionals --group testing .
49- - name : Install Pydantic v1
50- if : matrix.pydantic-version == 'pydantic-v1'
51- run : uv pip install --system "pydantic>=1.10.0,<2.0.0"
52- - name : Install Pydantic v2
53- if : matrix.pydantic-version == 'pydantic-v2'
54- run : uv pip install --system --prerelease=disallow "pydantic>=2.0.0,<3.0.0"
5548 - name : Test
5649 run : >
5750 pytest --cov --cov-report=
5851 -vv -m "(slow and not connected) or not connected"
5952 - name : Rename coverage file
60- run : mkdir coverage && mv .coverage coverage/.coverage.${{ runner.os }}-py${{ matrix.python-version }}-${{ matrix.pydantic-version }}
53+ run : mkdir coverage && mv .coverage coverage/.coverage.${{ runner.os }}-py${{ matrix.python-version }}
6154 - name : Store coverage files
62- uses : actions/upload-artifact@330a01c490aca151604b8cf639adc76d48f6c5d4 # v5 .0.0
55+ uses : actions/upload-artifact@b7c566a772e6b6bfb58ed0dc250532a479d7789f # v6 .0.0
6356 with :
64- name : .coverage.${{ runner.os }}-py${{ matrix.python-version }}-${{ matrix.pydantic-version }}
57+ name : .coverage.${{ runner.os }}-py${{ matrix.python-version }}
6558 path : coverage
6659 if-no-files-found : error
6760 include-hidden-files : true
7366 - uses : actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v6.0.1
7467 with :
7568 persist-credentials : false
76- - uses : astral-sh/setup-uv@1e862dfacbd1d6d858c55d9b792c756523627244 # v7.1.4
69+ - uses : astral-sh/setup-uv@681c641aba71e4a1c380be3ab5e12ad51f415867 # v7.1.6
7770 with :
7871 version : " latest"
7972 - name : Set up Python
9083 - name : Rename coverage file
9184 run : mkdir coverage && mv .coverage coverage/.coverage.macos-latest
9285 - name : Store coverage files
93- uses : actions/upload-artifact@v5
86+ uses : actions/upload-artifact@v6
9487 with :
9588 name : .coverage.macos-latest
9689 path : coverage
10497 - uses : actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v6.0.1
10598 with :
10699 persist-credentials : false
107- - uses : astral-sh/setup-uv@1e862dfacbd1d6d858c55d9b792c756523627244 # v7.1.4
100+ - uses : astral-sh/setup-uv@681c641aba71e4a1c380be3ab5e12ad51f415867 # v7.1.6
108101 with :
109102 version : " latest"
110103 - name : Set up Python
@@ -121,7 +114,7 @@ jobs:
121114 - name : Rename coverage file
122115 run : mkdir coverage && mv .coverage coverage/.coverage.windows-latest
123116 - name : Store coverage files
124- uses : actions/upload-artifact@v5
117+ uses : actions/upload-artifact@v6
125118 with :
126119 name : .coverage.windows-latest
127120 path : coverage
@@ -135,7 +128,7 @@ jobs:
135128 - uses : actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v6.0.1
136129 with :
137130 persist-credentials : false
138- - uses : astral-sh/setup-uv@1e862dfacbd1d6d858c55d9b792c756523627244 # v7.1.4
131+ - uses : astral-sh/setup-uv@681c641aba71e4a1c380be3ab5e12ad51f415867 # v7.1.6
139132 with :
140133 version : " latest"
141134 - name : Set up Python
@@ -177,7 +170,7 @@ jobs:
177170 - uses : actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v6.0.1
178171 with :
179172 persist-credentials : false
180- - uses : astral-sh/setup-uv@1e862dfacbd1d6d858c55d9b792c756523627244 # v7.1.4
173+ - uses : astral-sh/setup-uv@681c641aba71e4a1c380be3ab5e12ad51f415867 # v7.1.6
181174 with :
182175 version : " latest"
183176 - name : Set up Python
@@ -194,7 +187,7 @@ jobs:
194187 - name : Rename coverage file
195188 run : mkdir coverage && mv .coverage coverage/.coverage.kafka-py
196189 - name : Store coverage files
197- uses : actions/upload-artifact@330a01c490aca151604b8cf639adc76d48f6c5d4 # v5 .0.0
190+ uses : actions/upload-artifact@b7c566a772e6b6bfb58ed0dc250532a479d7789f # v6 .0.0
198191 with :
199192 name : .coverage.kafka-py
200193 path : coverage
@@ -208,7 +201,7 @@ jobs:
208201 - uses : actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v6.0.1
209202 with :
210203 persist-credentials : false
211- - uses : astral-sh/setup-uv@1e862dfacbd1d6d858c55d9b792c756523627244 # v7.1.4
204+ - uses : astral-sh/setup-uv@681c641aba71e4a1c380be3ab5e12ad51f415867 # v7.1.6
212205 with :
213206 version : " latest"
214207 - name : Set up Python
@@ -250,7 +243,7 @@ jobs:
250243 - uses : actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v6.0.1
251244 with :
252245 persist-credentials : false
253- - uses : astral-sh/setup-uv@1e862dfacbd1d6d858c55d9b792c756523627244 # v7.1.4
246+ - uses : astral-sh/setup-uv@681c641aba71e4a1c380be3ab5e12ad51f415867 # v7.1.6
254247 with :
255248 version : " latest"
256249 - name : Set up Python
@@ -267,7 +260,7 @@ jobs:
267260 - name : Rename coverage file
268261 run : mkdir coverage && mv .coverage coverage/.coverage.confluent-py
269262 - name : Store coverage files
270- uses : actions/upload-artifact@330a01c490aca151604b8cf639adc76d48f6c5d4 # v5 .0.0
263+ uses : actions/upload-artifact@b7c566a772e6b6bfb58ed0dc250532a479d7789f # v6 .0.0
271264 with :
272265 name : .coverage.confluent-py
273266 path : coverage
@@ -281,7 +274,7 @@ jobs:
281274 - uses : actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v6.0.1
282275 with :
283276 persist-credentials : false
284- - uses : astral-sh/setup-uv@1e862dfacbd1d6d858c55d9b792c756523627244 # v7.1.4
277+ - uses : astral-sh/setup-uv@681c641aba71e4a1c380be3ab5e12ad51f415867 # v7.1.6
285278 with :
286279 version : " latest"
287280 - name : Set up Python
@@ -311,7 +304,7 @@ jobs:
311304 - uses : actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v6.0.1
312305 with :
313306 persist-credentials : false
314- - uses : astral-sh/setup-uv@1e862dfacbd1d6d858c55d9b792c756523627244 # v7.1.4
307+ - uses : astral-sh/setup-uv@681c641aba71e4a1c380be3ab5e12ad51f415867 # v7.1.6
315308 with :
316309 version : " latest"
317310 - name : Set up Python
@@ -328,7 +321,7 @@ jobs:
328321 - name : Rename coverage file
329322 run : mkdir coverage && mv .coverage coverage/.coverage.rabbit-py
330323 - name : Store coverage files
331- uses : actions/upload-artifact@330a01c490aca151604b8cf639adc76d48f6c5d4 # v5 .0.0
324+ uses : actions/upload-artifact@b7c566a772e6b6bfb58ed0dc250532a479d7789f # v6 .0.0
332325 with :
333326 name : .coverage.rabbit-py
334327 path : coverage
@@ -342,7 +335,7 @@ jobs:
342335 - uses : actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v6.0.1
343336 with :
344337 persist-credentials : false
345- - uses : astral-sh/setup-uv@1e862dfacbd1d6d858c55d9b792c756523627244 # v7.1.4
338+ - uses : astral-sh/setup-uv@681c641aba71e4a1c380be3ab5e12ad51f415867 # v7.1.6
346339 with :
347340 version : " latest"
348341 - name : Set up Python
@@ -378,7 +371,7 @@ jobs:
378371 - uses : actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v6.0.1
379372 with :
380373 persist-credentials : false
381- - uses : astral-sh/setup-uv@1e862dfacbd1d6d858c55d9b792c756523627244 # v7.1.4
374+ - uses : astral-sh/setup-uv@681c641aba71e4a1c380be3ab5e12ad51f415867 # v7.1.6
382375 with :
383376 version : " latest"
384377 - name : Set up Python
@@ -395,7 +388,7 @@ jobs:
395388 - name : Rename coverage file
396389 run : mkdir coverage && mv .coverage coverage/.coverage.nats-py
397390 - name : Store coverage files
398- uses : actions/upload-artifact@330a01c490aca151604b8cf639adc76d48f6c5d4 # v5 .0.0
391+ uses : actions/upload-artifact@b7c566a772e6b6bfb58ed0dc250532a479d7789f # v6 .0.0
399392 with :
400393 name : .coverage.nats-py
401394 path : coverage
@@ -409,7 +402,7 @@ jobs:
409402 - uses : actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v6.0.1
410403 with :
411404 persist-credentials : false
412- - uses : astral-sh/setup-uv@1e862dfacbd1d6d858c55d9b792c756523627244 # v7.1.4
405+ - uses : astral-sh/setup-uv@681c641aba71e4a1c380be3ab5e12ad51f415867 # v7.1.6
413406 with :
414407 version : " latest"
415408 - name : Set up Python
@@ -439,7 +432,7 @@ jobs:
439432 - uses : actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v6.0.1
440433 with :
441434 persist-credentials : false
442- - uses : astral-sh/setup-uv@1e862dfacbd1d6d858c55d9b792c756523627244 # v7.1.4
435+ - uses : astral-sh/setup-uv@681c641aba71e4a1c380be3ab5e12ad51f415867 # v7.1.6
443436 with :
444437 version : " latest"
445438 - name : Set up Python
@@ -456,7 +449,7 @@ jobs:
456449 - name : Rename coverage file
457450 run : mkdir coverage && mv .coverage coverage/.coverage.redis-py
458451 - name : Store coverage files
459- uses : actions/upload-artifact@330a01c490aca151604b8cf639adc76d48f6c5d4 # v5 .0.0
452+ uses : actions/upload-artifact@b7c566a772e6b6bfb58ed0dc250532a479d7789f # v6 .0.0
460453 with :
461454 name : .coverage.redis-py
462455 path : coverage
@@ -480,15 +473,15 @@ jobs:
480473 - uses : actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v6.0.1
481474 with :
482475 persist-credentials : false
483- - uses : astral-sh/setup-uv@1e862dfacbd1d6d858c55d9b792c756523627244 # v7.1.4
476+ - uses : astral-sh/setup-uv@681c641aba71e4a1c380be3ab5e12ad51f415867 # v7.1.6
484477 with :
485478 version : " latest"
486479 - uses : actions/setup-python@83679a892e2d95755f2dac6acb0bfd1e9ac5d548 # v6.1.0
487480 with :
488481 python-version : " 3.12"
489482
490483 - name : Get coverage files
491- uses : actions/download-artifact@018cc2cf5baa6db3ef3c5f8a56943fffe632ef53 # v6 .0.0
484+ uses : actions/download-artifact@37930b1c2abaa49bbe596cd826c3c89aef350131 # v7 .0.0
492485 with :
493486 pattern : .coverage*
494487 path : coverage
@@ -503,7 +496,7 @@ jobs:
503496 - run : coverage html --show-contexts --title "FastStream coverage for ${{ github.sha }}"
504497
505498 - name : Store coverage html
506- uses : actions/upload-artifact@330a01c490aca151604b8cf639adc76d48f6c5d4 # v5 .0.0
499+ uses : actions/upload-artifact@b7c566a772e6b6bfb58ed0dc250532a479d7789f # v6 .0.0
507500 with :
508501 name : coverage-html
509502 path : htmlcov
0 commit comments