Skip to content

Commit bc3ce7f

Browse files
chore(ci): run on more branches and use depot runners
1 parent ad265c0 commit bc3ce7f

File tree

3 files changed

+11
-14
lines changed

3 files changed

+11
-14
lines changed

.github/workflows/ci.yml

+9-12
Original file line numberDiff line numberDiff line change
@@ -2,12 +2,12 @@ name: CI
22

33
on:
44
push:
5-
branches:
6-
- main
7-
pull_request:
8-
branches:
9-
- main
10-
- next
5+
branches-ignore:
6+
- 'generated'
7+
- 'codegen/**'
8+
- 'integrated/**'
9+
- 'stl-preview-head/**'
10+
- 'stl-preview-base/**'
1111

1212
concurrency:
1313
group: ${{ github.workflow }}-${{ github.ref }}
@@ -17,8 +17,7 @@ jobs:
1717
lint:
1818
timeout-minutes: 10
1919
name: lint
20-
runs-on: ubuntu-latest
21-
timeout-minutes: 5
20+
runs-on: depot-ubuntu-24.04
2221
steps:
2322
- uses: actions/checkout@v4
2423

@@ -39,8 +38,7 @@ jobs:
3938
test:
4039
timeout-minutes: 10
4140
name: test
42-
runs-on: ubuntu-latest
43-
timeout-minutes: 30
41+
runs-on: depot-ubuntu-24.04
4442
steps:
4543
- uses: actions/checkout@v4
4644

@@ -61,9 +59,8 @@ jobs:
6159
examples:
6260
timeout-minutes: 10
6361
name: examples
64-
runs-on: ubuntu-latest
62+
runs-on: depot-ubuntu-24.04
6563
if: github.repository == 'cloudflare/cloudflare-python'
66-
timeout-minutes: 5
6764

6865
steps:
6966
- uses: actions/checkout@v4

.github/workflows/publish-pypi.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ on:
1111
jobs:
1212
publish:
1313
name: publish
14-
runs-on: ubuntu-latest
14+
runs-on: depot-ubuntu-24.04
1515

1616
steps:
1717
- uses: actions/checkout@v4

.github/workflows/release-doctor.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ concurrency:
1313
jobs:
1414
release_doctor:
1515
name: release doctor
16-
runs-on: ubuntu-latest
16+
runs-on: depot-ubuntu-24.04
1717
timeout-minutes: 2
1818
if: github.repository == 'cloudflare/cloudflare-python' && (github.event_name == 'push' || github.event_name == 'workflow_dispatch' || startsWith(github.head_ref, 'release-please') || github.head_ref == 'next')
1919

0 commit comments

Comments
 (0)