@@ -18,18 +18,21 @@ jobs:
1818 lint :
1919 timeout-minutes : 10
2020 name : lint
21- runs-on : ${{ github.repository == 'stainless-sdks/context .dev-python' && 'depot-ubuntu-24.04' || 'ubuntu-latest' }}
21+ runs-on : ${{ github.repository == 'stainless-sdks/brand .dev-python' && 'depot-ubuntu-24.04' || 'ubuntu-latest' }}
2222 if : (github.event_name == 'push' || github.event.pull_request.head.repo.fork) && (github.event_name != 'push' || github.event.head_commit.message != 'codegen metadata')
2323 steps :
2424 - uses : actions/checkout@v6
2525
26- - name : Install uv
27- uses : astral-sh/setup-uv@v5
28- with :
29- version : ' 0.10.2'
26+ - name : Install Rye
27+ run : |
28+ curl -sSf https://rye.astral.sh/get | bash
29+ echo "$HOME/.rye/shims" >> $GITHUB_PATH
30+ env :
31+ RYE_VERSION : ' 0.44.0'
32+ RYE_INSTALL_OPTION : ' --yes'
3033
3134 - name : Install dependencies
32- run : uv sync --all-extras
35+ run : rye sync --all-features
3336
3437 - name : Run lints
3538 run : ./scripts/lint
@@ -41,24 +44,27 @@ jobs:
4144 permissions :
4245 contents : read
4346 id-token : write
44- runs-on : ${{ github.repository == 'stainless-sdks/context .dev-python' && 'depot-ubuntu-24.04' || 'ubuntu-latest' }}
47+ runs-on : ${{ github.repository == 'stainless-sdks/brand .dev-python' && 'depot-ubuntu-24.04' || 'ubuntu-latest' }}
4548 steps :
4649 - uses : actions/checkout@v6
4750
48- - name : Install uv
49- uses : astral-sh/setup-uv@v5
50- with :
51- version : ' 0.10.2'
51+ - name : Install Rye
52+ run : |
53+ curl -sSf https://rye.astral.sh/get | bash
54+ echo "$HOME/.rye/shims" >> $GITHUB_PATH
55+ env :
56+ RYE_VERSION : ' 0.44.0'
57+ RYE_INSTALL_OPTION : ' --yes'
5258
5359 - name : Install dependencies
54- run : uv sync --all-extras
60+ run : rye sync --all-features
5561
5662 - name : Run build
57- run : uv build
63+ run : rye build
5864
5965 - name : Get GitHub OIDC Token
6066 if : |-
61- github.repository == 'stainless-sdks/context .dev-python' &&
67+ github.repository == 'stainless-sdks/brand .dev-python' &&
6268 !startsWith(github.ref, 'refs/heads/stl/')
6369 id : github-oidc
6470 uses : actions/github-script@v8
6773
6874 - name : Upload tarball
6975 if : |-
70- github.repository == 'stainless-sdks/context .dev-python' &&
76+ github.repository == 'stainless-sdks/brand .dev-python' &&
7177 !startsWith(github.ref, 'refs/heads/stl/')
7278 env :
7379 URL : https://pkg.stainless.com/s
@@ -78,15 +84,18 @@ jobs:
7884 test :
7985 timeout-minutes : 10
8086 name : test
81- runs-on : ${{ github.repository == 'stainless-sdks/context .dev-python' && 'depot-ubuntu-24.04' || 'ubuntu-latest' }}
87+ runs-on : ${{ github.repository == 'stainless-sdks/brand .dev-python' && 'depot-ubuntu-24.04' || 'ubuntu-latest' }}
8288 if : github.event_name == 'push' || github.event.pull_request.head.repo.fork
8389 steps :
8490 - uses : actions/checkout@v6
8591
86- - name : Install uv
87- uses : astral-sh/setup-uv@v5
88- with :
89- version : ' 0.10.2'
92+ - name : Install Rye
93+ run : |
94+ curl -sSf https://rye.astral.sh/get | bash
95+ echo "$HOME/.rye/shims" >> $GITHUB_PATH
96+ env :
97+ RYE_VERSION : ' 0.44.0'
98+ RYE_INSTALL_OPTION : ' --yes'
9099
91100 - name : Bootstrap
92101 run : ./scripts/bootstrap
0 commit comments