@@ -20,66 +20,6 @@ concurrency:
2020 cancel-in-progress : true
2121
2222jobs :
23- lint :
24- timeout-minutes : 10
25- name : lint
26- runs-on : ${{ github.repository == 'stainless-sdks/cloudflare-python' && 'depot-ubuntu-24.04' || 'ubuntu-latest' }}
27- if : (github.event_name == 'push' || github.event.pull_request.head.repo.fork) && (github.event_name != 'push' || github.event.head_commit.message != 'codegen metadata')
28- steps :
29- - uses : actions/checkout@v6
30-
31- - name : Install uv
32- uses : astral-sh/setup-uv@v5
33- with :
34- version : ' 0.10.2'
35-
36- - name : Install dependencies
37- run : uv sync --all-extras
38-
39- - name : Run lints
40- run : ./scripts/lint
41-
42- build :
43- if : (github.event_name == 'push' || github.event.pull_request.head.repo.fork) && (github.event_name != 'push' || github.event.head_commit.message != 'codegen metadata')
44- timeout-minutes : 10
45- name : build
46- permissions :
47- contents : read
48- id-token : write
49- runs-on : ${{ github.repository == 'stainless-sdks/cloudflare-python' && 'depot-ubuntu-24.04' || 'ubuntu-latest' }}
50- steps :
51- - uses : actions/checkout@v6
52-
53- - name : Install uv
54- uses : astral-sh/setup-uv@v5
55- with :
56- version : ' 0.10.2'
57-
58- - name : Install dependencies
59- run : uv sync --all-extras
60-
61- - name : Run build
62- run : uv build
63-
64- - name : Get GitHub OIDC Token
65- if : |-
66- github.repository == 'stainless-sdks/cloudflare-python' &&
67- !startsWith(github.ref, 'refs/heads/stl/')
68- id : github-oidc
69- uses : actions/github-script@v8
70- with :
71- script : core.setOutput('github_token', await core.getIDToken());
72-
73- - name : Upload tarball
74- if : |-
75- github.repository == 'stainless-sdks/cloudflare-python' &&
76- !startsWith(github.ref, 'refs/heads/stl/')
77- env :
78- URL : https://pkg.stainless.com/s
79- AUTH : ${{ steps.github-oidc.outputs.github_token }}
80- SHA : ${{ github.sha }}
81- run : ./scripts/utils/upload-artifact.sh
82-
8323 test :
8424 timeout-minutes : 30
8525 name : test
@@ -95,12 +35,14 @@ jobs:
9535
9636 - name : Bootstrap
9737 run : ./scripts/bootstrap
38+ env :
39+ UV_PYTHON : " >=3.14.0"
9840
9941 - name : Run tests
10042 continue-on-error : true
10143 run : ./scripts/test
10244 env :
103- UV_PYTHON : " >=3.9 .0"
45+ UV_PYTHON : " >=3.14 .0"
10446
10547 examples :
10648 timeout-minutes : 10
0 commit comments