@@ -4,11 +4,7 @@ concurrency:
44 group : ${{ github.workflow }}-${{ github.ref }}
55 cancel-in-progress : ${{ github.ref != 'refs/heads/develop' }}
66
7- on :
8- push :
9- branches : ["develop"]
10- pull_request : {}
11- workflow_dispatch : {}
7+ on : [push, pull_request, workflow_dispatch]
128
139permissions :
1410 actions : read
3834 # Lint the workflows and yamllint's configuration file.
3935 yamllint \
4036 --strict \
41- -c yamllint-config.yaml \
42- yamllint-config.yaml \
37+ -c .yamllint.yaml \
4338 .github/
4439
4540 python-lint :
@@ -311,6 +306,43 @@ jobs:
311306 # https://spiraldb.slack.com/archives/C07BV3GKAJ2/p1732736281946729
312307 cargo hack clippy --no-default-features -- -D warnings
313308
309+ rust-semver :
310+ name : " Rust (semver checks)"
311+ timeout-minutes : 120
312+ if : github.ref != 'refs/heads/develop'
313+ runs-on :
314+ - runs-on=${{ github.run_id }}
315+ - family=m7i+m7i-flex+m7a
316+ - cpu=16
317+ - image=ubuntu24-full-x64
318+ - extras=s3-cache
319+ - tag=rust-semver
320+ steps :
321+ - uses : runs-on/action@v2
322+ with :
323+ sccache : s3
324+ - uses : actions/checkout@v6
325+ with :
326+ fetch-depth : 0
327+ fetch-tags : true
328+ - uses : ./.github/actions/setup-rust
329+ with :
330+ repo-token : ${{ secrets.GITHUB_TOKEN }}
331+
332+ # We have to set the correct Cargo.toml versions so semver checks uses the previous release.
333+ - name : Latest Tag
334+ id : latest-tag
335+ run : |
336+ LATEST_TAG=$(git describe --tags --abbrev=0)
337+ echo "tag=$LATEST_TAG" >> $GITHUB_OUTPUT
338+ - name : Cargo Set Version
339+ run : |
340+ cargo install cargo-edit
341+ cargo set-version --workspace ${{ steps.latest-tag.outputs.tag }}
342+
343+ - name : Check semver
344+ uses : obi1kenobi/cargo-semver-checks-action@v2
345+
314346 rust-coverage :
315347 name : " Rust tests (coverage)"
316348 timeout-minutes : 120
@@ -351,6 +383,8 @@ jobs:
351383 tool : nextest
352384 - name : Rust Tests
353385 if : ${{ matrix.suite == 'tests' }}
386+ env :
387+ RUSTFLAGS : " -Cinstrument-coverage -A warnings --cfg vortex_nightly"
354388 run : |
355389 cargo +nightly nextest run --locked --workspace --all-features --no-fail-fast
356390 - name : Run TPC-H
@@ -397,7 +431,7 @@ jobs:
397431 - tag=rust-test-sanitizer
398432 env :
399433 # Add debug symbols and enable ASAN/LSAN with better output
400- RUSTFLAGS : " -A warnings -Zsanitizer=address -Zsanitizer=leak --cfg disable_loom -C debuginfo=2 -C opt-level=0 -C strip=none"
434+ RUSTFLAGS : " -A warnings -Zsanitizer=address -Zsanitizer=leak --cfg disable_loom --cfg vortex_nightly - C debuginfo=2 -C opt-level=0 -C strip=none"
401435 ASAN_OPTIONS : " symbolize=1:print_stats=1:check_initialization_order=1:detect_leaks=1:halt_on_error=0:verbosity=1:leak_check_at_exit=1"
402436 LSAN_OPTIONS : " verbosity=1:report_objects=1"
403437 ASAN_SYMBOLIZER_PATH : " /usr/bin/llvm-symbolizer"
@@ -637,7 +671,7 @@ jobs:
637671 timeout-minutes : 120
638672 env :
639673 MIRIFLAGS : -Zmiri-strict-provenance -Zmiri-symbolic-alignment-check -Zmiri-disable-isolation -Zmiri-env-forward=RUST_BACKTRACE
640- RUSTFLAGS : " -A warnings"
674+ RUSTFLAGS : " -A warnings --cfg vortex_nightly "
641675 RUST_BACKTRACE : full
642676 steps :
643677 - uses : actions/checkout@v6
0 commit comments