Skip to content

Commit 504d589

Browse files
committed
Clean CI
Signed-off-by: Adam Gutglick <adam@spiraldb.com>
1 parent 1440d73 commit 504d589

1 file changed

Lines changed: 27 additions & 40 deletions

File tree

.github/workflows/ci.yml

Lines changed: 27 additions & 40 deletions
Original file line numberDiff line numberDiff line change
@@ -10,14 +10,14 @@ concurrency:
1010
on:
1111
push:
1212
branches: [develop]
13-
pull_request: { }
14-
workflow_dispatch: { }
13+
pull_request: {}
14+
workflow_dispatch: {}
1515

1616
permissions:
1717
actions: read
1818
contents: read
19-
checks: write # audit-check creates checks
20-
issues: write # audit-check creates issues
19+
checks: write # audit-check creates checks
20+
issues: write # audit-check creates issues
2121

2222
env:
2323
CARGO_TERM_COLOR: always
@@ -29,14 +29,14 @@ jobs:
2929
runs-on: ubuntu-latest
3030
timeout-minutes: 10
3131
steps:
32-
- uses: actions/checkout@df4cb1c069e1874edd31b4311f1884172cec0e10 # v6
33-
- uses: spiraldb/actions/.github/actions/lint-toml@a746510eafaa926484c354541cfc49b2ec06cc63 # 0.18.6
32+
- uses: actions/checkout@df4cb1c069e1874edd31b4311f1884172cec0e10 # v6
33+
- uses: spiraldb/actions/.github/actions/lint-toml@a746510eafaa926484c354541cfc49b2ec06cc63 # 0.18.6
3434

3535
validate-workflow-yaml:
3636
runs-on: ubuntu-latest
3737
timeout-minutes: 10
3838
steps:
39-
- uses: actions/checkout@df4cb1c069e1874edd31b4311f1884172cec0e10 # v6
39+
- uses: actions/checkout@df4cb1c069e1874edd31b4311f1884172cec0e10 # v6
4040
- name: Validate YAML file
4141
run: |
4242
# Lint the workflows and yamllint's configuration file.
@@ -57,7 +57,7 @@ jobs:
5757
if: github.repository == 'vortex-data/vortex'
5858
with:
5959
sccache: s3
60-
- uses: actions/checkout@df4cb1c069e1874edd31b4311f1884172cec0e10 # v6
60+
- uses: actions/checkout@df4cb1c069e1874edd31b4311f1884172cec0e10 # v6
6161
- uses: ./.github/actions/setup-prebuild
6262
# Use uvx for ruff to avoid building the Rust extension (saves ~4.5 min)
6363
- name: Python Lint - Format
@@ -87,7 +87,7 @@ jobs:
8787
if: github.repository == 'vortex-data/vortex'
8888
with:
8989
sccache: s3
90-
- uses: actions/checkout@df4cb1c069e1874edd31b4311f1884172cec0e10 # v6
90+
- uses: actions/checkout@df4cb1c069e1874edd31b4311f1884172cec0e10 # v6
9191
- uses: ./.github/actions/setup-prebuild
9292

9393
- name: Pytest - Vortex
@@ -125,7 +125,7 @@ jobs:
125125
if: github.repository == 'vortex-data/vortex'
126126
with:
127127
sccache: s3
128-
- uses: actions/checkout@df4cb1c069e1874edd31b4311f1884172cec0e10 # v6
128+
- uses: actions/checkout@df4cb1c069e1874edd31b4311f1884172cec0e10 # v6
129129
- uses: ./.github/actions/setup-prebuild
130130
- name: Docs
131131
run: |
@@ -161,14 +161,14 @@ jobs:
161161
runner: amd64-medium
162162
target: wasm32-unknown-unknown
163163
env:
164-
rustflags: "RUSTFLAGS='-A warnings --cfg getrandom_backend=\"unsupported\"'"
164+
rustflags: 'RUSTFLAGS=''-A warnings --cfg getrandom_backend="unsupported"'''
165165
args: "--target wasm32-unknown-unknown --exclude vortex --exclude vortex-cuda --exclude vortex-cub --exclude vortex-nvcomp --exclude vortex-datafusion --exclude vortex-duckdb --exclude vortex-tui --exclude vortex-zstd --exclude vortex-test-e2e-cuda --exclude vortex-sqllogictest --exclude vortex-parquet-variant"
166166
steps:
167167
- uses: runs-on/action@v2
168168
if: github.repository == 'vortex-data/vortex'
169169
with:
170170
sccache: s3
171-
- uses: actions/checkout@df4cb1c069e1874edd31b4311f1884172cec0e10 # v6
171+
- uses: actions/checkout@df4cb1c069e1874edd31b4311f1884172cec0e10 # v6
172172
- uses: ./.github/actions/setup-prebuild
173173
- name: Install wasm32 target
174174
if: ${{ matrix.config.target == 'wasm32-unknown-unknown' }}
@@ -193,7 +193,7 @@ jobs:
193193
if: github.repository == 'vortex-data/vortex'
194194
with:
195195
sccache: s3
196-
- uses: actions/checkout@df4cb1c069e1874edd31b4311f1884172cec0e10 # v6
196+
- uses: actions/checkout@df4cb1c069e1874edd31b4311f1884172cec0e10 # v6
197197
- uses: ./.github/actions/setup-prebuild
198198
- run: cargo minimal-versions check --direct --workspace --ignore-private
199199

@@ -209,7 +209,7 @@ jobs:
209209
if: github.repository == 'vortex-data/vortex'
210210
with:
211211
sccache: s3
212-
- uses: actions/checkout@df4cb1c069e1874edd31b4311f1884172cec0e10 # v6
212+
- uses: actions/checkout@df4cb1c069e1874edd31b4311f1884172cec0e10 # v6
213213
- uses: ./.github/actions/setup-prebuild
214214
- name: Install nightly for fmt
215215
run: rustup toolchain install $NIGHTLY_TOOLCHAIN --component rustfmt
@@ -235,7 +235,7 @@ jobs:
235235
run: cargo clippy --profile ci --locked --all-targets -- -D warnings
236236
- name: Check lint results
237237
if: always()
238-
uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9
238+
uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9
239239
with:
240240
script: |
241241
const failed = Object.entries({
@@ -265,7 +265,7 @@ jobs:
265265
runs-on: ubuntu-latest
266266
timeout-minutes: 10
267267
steps:
268-
- uses: actions/checkout@df4cb1c069e1874edd31b4311f1884172cec0e10 # v6
268+
- uses: actions/checkout@df4cb1c069e1874edd31b4311f1884172cec0e10 # v6
269269
- name: C/C++ Lint - clang-format
270270
run: |
271271
git ls-files vortex-cuda vortex-cxx vortex-duckdb vortex-ffi \
@@ -287,7 +287,7 @@ jobs:
287287
if: github.repository == 'vortex-data/vortex'
288288
with:
289289
sccache: s3
290-
- uses: actions/checkout@df4cb1c069e1874edd31b4311f1884172cec0e10 # v6
290+
- uses: actions/checkout@df4cb1c069e1874edd31b4311f1884172cec0e10 # v6
291291
- uses: ./.github/actions/setup-prebuild
292292
- name: Rust Lint - Clippy No Default Features
293293
shell: bash
@@ -315,7 +315,7 @@ jobs:
315315
if: github.repository == 'vortex-data/vortex'
316316
with:
317317
sccache: s3
318-
- uses: actions/checkout@df4cb1c069e1874edd31b4311f1884172cec0e10 # v6
318+
- uses: actions/checkout@df4cb1c069e1874edd31b4311f1884172cec0e10 # v6
319319
- name: Setup (Windows)
320320
if: matrix.os == 'windows-x64'
321321
run: |
@@ -325,7 +325,7 @@ jobs:
325325
if: matrix.os == 'windows-x64'
326326
run: |
327327
cargo nextest run --cargo-profile ci --locked --workspace --all-features --no-fail-fast `
328-
--exclude vortex-bench --exclude vortex-bench-server `
328+
--exclude vortex-bench `
329329
--exclude vortex-python --exclude vortex-duckdb `
330330
--exclude vortex-fuzz --exclude vortex-cuda --exclude vortex-cuda-ffi `
331331
--exclude vortex-nvcomp --exclude vortex-cub --exclude vortex-test-e2e-cuda `
@@ -337,19 +337,6 @@ jobs:
337337
if: matrix.os != 'windows-x64'
338338
run: |
339339
cargo nextest run --cargo-profile ci --locked --workspace --all-features --no-fail-fast --exclude vortex-bench --exclude xtask --exclude vortex-sqllogictest
340-
- name: vortex-bench-server admin snapshot tests (Linux only - network-dependent)
341-
# The /api/admin/snapshot tests INSTALL+LOAD the vortex DuckDB
342-
# core extension from extensions.duckdb.org on first call. They
343-
# are #[ignore]'d by default so `cargo test` works in offline
344-
# environments (sandboxed CI, local dev without network). This
345-
# step runs them explicitly on the Linux runners, which DO have
346-
# outbound network, so the entire backup contract is covered
347-
# in CI before merge. macOS/arm64 also exercises them - same
348-
# extension, same network. Windows skipped (bench-server is
349-
# excluded from Windows test matrix above).
350-
if: matrix.os == 'linux-x64' || matrix.os == 'linux-arm64' || matrix.os == 'macos-arm64'
351-
run: |
352-
cargo nextest run --cargo-profile ci --locked -p vortex-bench-server --test admin --run-ignored only
353340
- uses: ./.github/actions/check-rebuild
354341
if: matrix.os != 'windows-x64'
355342
with:
@@ -375,7 +362,7 @@ jobs:
375362
if: github.repository == 'vortex-data/vortex'
376363
with:
377364
sccache: s3
378-
- uses: actions/checkout@df4cb1c069e1874edd31b4311f1884172cec0e10 # v6
365+
- uses: actions/checkout@df4cb1c069e1874edd31b4311f1884172cec0e10 # v6
379366
- uses: ./.github/actions/setup-prebuild
380367
- run: ./gradlew javadoc
381368
working-directory: ./java
@@ -394,8 +381,8 @@ jobs:
394381
# Prevent sudden announcement of a new advisory from failing ci:
395382
continue-on-error: ${{ matrix.checks == 'advisories' }}
396383
steps:
397-
- uses: actions/checkout@df4cb1c069e1874edd31b4311f1884172cec0e10 # v6
398-
- uses: EmbarkStudios/cargo-deny-action@bb137d7af7e4fb67e5f82a49c4fce4fad40782fe # v2
384+
- uses: actions/checkout@df4cb1c069e1874edd31b4311f1884172cec0e10 # v6
385+
- uses: EmbarkStudios/cargo-deny-action@bb137d7af7e4fb67e5f82a49c4fce4fad40782fe # v2
399386
with:
400387
command: check ${{ matrix.checks }}
401388

@@ -411,7 +398,7 @@ jobs:
411398
if: github.repository == 'vortex-data/vortex'
412399
with:
413400
sccache: s3
414-
- uses: actions/checkout@df4cb1c069e1874edd31b4311f1884172cec0e10 # v6
401+
- uses: actions/checkout@df4cb1c069e1874edd31b4311f1884172cec0e10 # v6
415402
- uses: ./.github/actions/setup-prebuild
416403
- name: Build and run C++ unit tests
417404
run: |
@@ -440,7 +427,7 @@ jobs:
440427
if: github.repository == 'vortex-data/vortex'
441428
with:
442429
sccache: s3
443-
- uses: actions/checkout@df4cb1c069e1874edd31b4311f1884172cec0e10 # v6
430+
- uses: actions/checkout@df4cb1c069e1874edd31b4311f1884172cec0e10 # v6
444431
- uses: ./.github/actions/setup-prebuild
445432
- name: Run sqllogictest tests
446433
run: |
@@ -455,7 +442,7 @@ jobs:
455442
runs-on: ubuntu-latest
456443
timeout-minutes: 30
457444
steps:
458-
- uses: actions/checkout@df4cb1c069e1874edd31b4311f1884172cec0e10 # v6
445+
- uses: actions/checkout@df4cb1c069e1874edd31b4311f1884172cec0e10 # v6
459446
- uses: ./.github/actions/setup-rust
460447
with:
461448
repo-token: ${{ secrets.GITHUB_TOKEN }}
@@ -482,7 +469,7 @@ jobs:
482469
if: github.repository == 'vortex-data/vortex'
483470
with:
484471
sccache: s3
485-
- uses: actions/checkout@df4cb1c069e1874edd31b4311f1884172cec0e10 # v6
472+
- uses: actions/checkout@df4cb1c069e1874edd31b4311f1884172cec0e10 # v6
486473
- uses: ./.github/actions/setup-prebuild
487474
- name: Install nightly for cbindgen macro expansion
488475
run: rustup toolchain install $NIGHTLY_TOOLCHAIN
@@ -521,7 +508,7 @@ jobs:
521508
if: github.repository == 'vortex-data/vortex'
522509
with:
523510
sccache: s3
524-
- uses: actions/checkout@df4cb1c069e1874edd31b4311f1884172cec0e10 # v6
511+
- uses: actions/checkout@df4cb1c069e1874edd31b4311f1884172cec0e10 # v6
525512
- uses: ./.github/actions/setup-prebuild
526513
- name: "regenerate FFI header file"
527514
run: |

0 commit comments

Comments
 (0)