Skip to content

Commit 61ca180

Browse files
committed
fix
Signed-off-by: Joe Isaacs <joe.isaacs@live.co.uk>
1 parent 61bc044 commit 61ca180

1 file changed

Lines changed: 35 additions & 31 deletions

File tree

.github/workflows/ci.yml

Lines changed: 35 additions & 31 deletions
Original file line numberDiff line numberDiff line change
@@ -28,14 +28,14 @@ env:
2828
jobs:
2929
lint-toml:
3030
runs-on: ubuntu-latest
31-
timeout-minutes: 120
31+
timeout-minutes: 40
3232
steps:
3333
- uses: actions/checkout@v6
3434
- uses: spiraldb/actions/.github/actions/lint-toml@0.18.5
3535

3636
validate-workflow-yaml:
3737
runs-on: ubuntu-latest
38-
timeout-minutes: 120
38+
timeout-minutes: 40
3939
steps:
4040
- uses: actions/checkout@v6
4141
- name: Validate YAML file
@@ -52,7 +52,7 @@ jobs:
5252
${{ github.repository == 'vortex-data/vortex'
5353
&& format('runs-on={0}/runner=amd64-medium/image=ubuntu24-full-x64-pre-v2/tag=python-lint', github.run_id)
5454
|| 'ubuntu-latest' }}
55-
timeout-minutes: 120
55+
timeout-minutes: 40
5656
steps:
5757
- uses: runs-on/action@v2
5858
if: github.repository == 'vortex-data/vortex'
@@ -77,7 +77,7 @@ jobs:
7777
${{ github.repository == 'vortex-data/vortex'
7878
&& format('runs-on={0}/runner=amd64-large/image=ubuntu24-full-x64-pre-v2/tag=python-test', github.run_id)
7979
|| 'ubuntu-latest' }}
80-
timeout-minutes: 120
80+
timeout-minutes: 40
8181
env:
8282
RUST_LOG: "info,uv=debug"
8383
MATURIN_PEP517_ARGS: "--profile dev"
@@ -115,7 +115,7 @@ jobs:
115115
python-wheel-build:
116116
name: "Python (wheel build)"
117117
runs-on: ubuntu-latest
118-
timeout-minutes: 120
118+
timeout-minutes: 40
119119
steps:
120120
- uses: actions/checkout@v6
121121
- name: Rust Dependency Cache
@@ -155,7 +155,7 @@ jobs:
155155

156156
rust-docs:
157157
name: "Rust (docs)"
158-
timeout-minutes: 120
158+
timeout-minutes: 40
159159
runs-on: >-
160160
${{ github.repository == 'vortex-data/vortex'
161161
&& format('runs-on={0}/runner=amd64-small/image=ubuntu24-full-x64-pre-v2/tag=rust-docs', github.run_id)
@@ -175,7 +175,7 @@ jobs:
175175
176176
build-rust:
177177
name: "Rust build (${{matrix.config.name}})"
178-
timeout-minutes: 120
178+
timeout-minutes: 40
179179
runs-on: >-
180180
${{ github.repository == 'vortex-data/vortex'
181181
&& format('runs-on={0}/runner={1}/image=ubuntu24-full-x64-pre-v2/tag={2}', github.run_id, matrix.config.runner, matrix.config.name)
@@ -223,7 +223,7 @@ jobs:
223223
224224
check-min-deps:
225225
name: "Check build with minimal dependencies"
226-
timeout-minutes: 120
226+
timeout-minutes: 40
227227
runs-on: >-
228228
${{ github.repository == 'vortex-data/vortex'
229229
&& format('runs-on={0}/runner=amd64-medium/image=ubuntu24-full-x64-pre-v2/tag=rust-min-deps', github.run_id)
@@ -239,7 +239,7 @@ jobs:
239239

240240
rust-lint:
241241
name: "Rust (lint)"
242-
timeout-minutes: 120
242+
timeout-minutes: 40
243243
runs-on: >-
244244
${{ github.repository == 'vortex-data/vortex'
245245
&& format('runs-on={0}/runner=amd64-large/image=ubuntu24-full-x64-pre-v2/tag=rust-lint', github.run_id)
@@ -279,7 +279,7 @@ jobs:
279279
280280
rust-lint-no-default:
281281
name: "Rust (lint, no default)"
282-
timeout-minutes: 120
282+
timeout-minutes: 40
283283
runs-on: >-
284284
${{ github.repository == 'vortex-data/vortex'
285285
&& format('runs-on={0}/runner=amd64-medium/image=ubuntu24-full-x64-pre-v2/tag=rust-lint-no-default', github.run_id)
@@ -298,18 +298,18 @@ jobs:
298298
299299
public-api:
300300
name: "Public API lock files"
301-
timeout-minutes: 120
301+
timeout-minutes: 40
302302
runs-on: >-
303303
${{ github.repository == 'vortex-data/vortex'
304304
&& format('runs-on={0}/runner=amd64-xsmall/image=ubuntu24-full-x64-pre-v2/tag=public-api', github.run_id)
305305
|| 'ubuntu-latest' }}
306306
steps:
307307
- uses: runs-on/action@v2
308308
if: github.repository == 'vortex-data/vortex'
309-
with:
310-
sccache: s3
311309
- uses: actions/checkout@v6
312310
- uses: ./.github/actions/setup-prebuild
311+
with:
312+
enable-sccache: "false"
313313
- name: Install nightly for public-api
314314
run: rustup toolchain install $NIGHTLY_TOOLCHAIN
315315
- name: Regenerate public API lock files
@@ -332,7 +332,7 @@ jobs:
332332
333333
rust-coverage:
334334
name: "Rust tests (coverage) (${{ matrix.suite }})"
335-
timeout-minutes: 120
335+
timeout-minutes: 40
336336
permissions:
337337
id-token: write
338338
strategy:
@@ -381,7 +381,7 @@ jobs:
381381

382382
rust-test:
383383
name: "Rust tests (sanitizer)"
384-
timeout-minutes: 120
384+
timeout-minutes: 40
385385
runs-on: >-
386386
${{ github.repository == 'vortex-data/vortex'
387387
&& format('runs-on={0}/runner=amd64-medium/image=ubuntu24-full-x64-pre-v2/tag=rust-test-sanitizer', github.run_id)
@@ -428,7 +428,7 @@ jobs:
428428
cuda-build-lint:
429429
if: github.repository == 'vortex-data/vortex'
430430
name: "CUDA build & lint"
431-
timeout-minutes: 120
431+
timeout-minutes: 40
432432
runs-on: runs-on=${{ github.run_id }}/runner=gpu/tag=cuda-build
433433
steps:
434434
- uses: runs-on/action@v2
@@ -556,7 +556,7 @@ jobs:
556556
557557
rust-test-other:
558558
name: "Rust tests (${{ matrix.os }})"
559-
timeout-minutes: 120
559+
timeout-minutes: 40
560560
strategy:
561561
fail-fast: false
562562
matrix:
@@ -616,7 +616,7 @@ jobs:
616616
${{ github.repository == 'vortex-data/vortex'
617617
&& format('runs-on={0}/runner=amd64-medium/image=ubuntu24-full-x64-pre-v2/tag=java', github.run_id)
618618
|| 'ubuntu-latest' }}
619-
timeout-minutes: 120
619+
timeout-minutes: 40
620620
steps:
621621
- uses: runs-on/action@v2
622622
if: github.repository == 'vortex-data/vortex'
@@ -640,7 +640,7 @@ jobs:
640640
- { shard: 7, name: "Encodings 4", packages: "vortex-sparse vortex-zigzag vortex-zstd" }
641641
- { shard: 8, name: "Storage formats", packages: "vortex-flatbuffers vortex-proto vortex-btrblocks" }
642642
name: "Benchmark with Codspeed (Shard #${{ matrix.shard }})"
643-
timeout-minutes: 120
643+
timeout-minutes: 40
644644
runs-on: >-
645645
${{ github.repository == 'vortex-data/vortex'
646646
&& format('runs-on={0}/runner=amd64-medium/image=ubuntu24-full-x64-pre-v2/tag=bench-codspeed-{1}', github.run_id, matrix.shard)
@@ -673,7 +673,7 @@ jobs:
673673
license-check-and-audit-check:
674674
name: License Check and Audit Check
675675
runs-on: ubuntu-latest
676-
timeout-minutes: 120
676+
timeout-minutes: 40
677677
strategy:
678678
matrix:
679679
checks:
@@ -689,7 +689,7 @@ jobs:
689689

690690
cxx-test:
691691
name: "C++ build"
692-
timeout-minutes: 120
692+
timeout-minutes: 40
693693
runs-on: >-
694694
${{ github.repository == 'vortex-data/vortex'
695695
&& format('runs-on={0}/runner=amd64-medium/image=ubuntu24-full-x64-pre-v2/tag=cxx-build', github.run_id)
@@ -740,7 +740,7 @@ jobs:
740740
wasm-integration:
741741
name: "wasm-integration"
742742
runs-on: ubuntu-latest
743-
timeout-minutes: 120
743+
timeout-minutes: 40
744744
steps:
745745
- uses: actions/checkout@v6
746746
- uses: ./.github/actions/setup-rust
@@ -760,7 +760,7 @@ jobs:
760760
${{ github.repository == 'vortex-data/vortex'
761761
&& format('runs-on={0}/runner=amd64-medium/image=ubuntu24-full-x64-pre-v2/tag=rust-miri', github.run_id)
762762
|| 'ubuntu-latest' }}
763-
timeout-minutes: 120
763+
timeout-minutes: 40
764764
env:
765765
MIRIFLAGS: -Zmiri-strict-provenance -Zmiri-symbolic-alignment-check -Zmiri-disable-isolation -Zmiri-env-forward=RUST_BACKTRACE
766766
RUSTFLAGS: "-A warnings --cfg vortex_nightly"
@@ -779,16 +779,20 @@ jobs:
779779

780780
generated-files:
781781
name: "Check generated source files are up to date"
782-
runs-on: ubuntu-latest
783-
timeout-minutes: 120
782+
runs-on: >-
783+
${{ github.repository == 'vortex-data/vortex'
784+
&& format('runs-on={0}/runner=amd64-medium/image=ubuntu24-full-x64-pre-v2/tag=generated-files', github.run_id)
785+
|| 'ubuntu-latest' }}
786+
timeout-minutes: 40
784787
steps:
785-
- uses: actions/checkout@v6
786-
- uses: ./.github/actions/setup-rust
788+
- uses: runs-on/action@v2
789+
if: github.repository == 'vortex-data/vortex'
787790
with:
788-
repo-token: ${{ secrets.GITHUB_TOKEN }}
791+
sccache: s3
792+
- uses: actions/checkout@v6
793+
- uses: ./.github/actions/setup-prebuild
789794
- name: Install nightly for cbindgen macro expansion
790795
run: rustup toolchain install $NIGHTLY_TOOLCHAIN
791-
- uses: ./.github/actions/setup-flatc
792796
- name: "regenerate all .fbs/.proto Rust code"
793797
run: |
794798
cargo xtask generate-fbs
@@ -816,7 +820,7 @@ jobs:
816820
runs-on: ${{ matrix.target.runs-on }}
817821
container:
818822
image: "ubuntu:20.04"
819-
timeout-minutes: 120
823+
timeout-minutes: 40
820824
strategy:
821825
fail-fast: false
822826
matrix:
@@ -841,7 +845,7 @@ jobs:
841845

842846
rust-publish-dry-run:
843847
name: "Rust publish dry-run"
844-
timeout-minutes: 120
848+
timeout-minutes: 40
845849
runs-on: >-
846850
${{ github.repository == 'vortex-data/vortex'
847851
&& format('runs-on={0}/runner=amd64-xsmall/image=ubuntu24-full-x64-pre-v2/tag=rust-publish-dry-run', github.run_id)

0 commit comments

Comments
 (0)