Skip to content

Commit b6f0062

Browse files
stainless-app[bot]stainless-bot
authored andcommitted
feat(api): update via SDK Studio (#346)
1 parent 50a9207 commit b6f0062

File tree

1 file changed

+25
-1
lines changed

1 file changed

+25
-1
lines changed

.github/workflows/ci.yml

+25-1
Original file line numberDiff line numberDiff line change
@@ -40,4 +40,28 @@ jobs:
4040
run: |
4141
rye run python -c 'import cloudflare'
4242
43-
43+
examples:
44+
name: examples
45+
runs-on: ubuntu-latest
46+
47+
steps:
48+
- uses: actions/checkout@v4
49+
50+
- name: Install Rye
51+
run: |
52+
curl -sSf https://rye-up.com/get | bash
53+
echo "$HOME/.rye/shims" >> $GITHUB_PATH
54+
env:
55+
RYE_VERSION: 0.24.0
56+
RYE_INSTALL_OPTION: "--yes"
57+
- name: Install dependencies
58+
run: |
59+
rye sync --all-features
60+
61+
- env:
62+
CLOUDFLARE_ACCOUNT_ID: f037e56e89293a057740de681ac9abbe
63+
CLOUDFLARE_EMAIL: [email protected]
64+
CLOUDFLARE_ZONE_ID: 0da42c8d2132a9ddaf714f9e7c92011
65+
CLOUDFLARE_API_KEY: ${{ secrets.CLOUDFLARE_API_KEY }}
66+
run: |
67+
rye run python ./examples/workers/ai/demo.py

0 commit comments

Comments
 (0)