Skip to content

Bump vgi-rpc from 0.2.0 to 0.3.0 #6

Bump vgi-rpc from 0.2.0 to 0.3.0

Bump vgi-rpc from 0.2.0 to 0.3.0 #6

Workflow file for this run

name: CI
on:
push:
branches: [main]
pull_request:
workflow_dispatch:
concurrency:
group: ci-${{ github.ref }}
cancel-in-progress: true
env:
CARGO_TERM_COLOR: always
RUSTFLAGS: "-D warnings"
jobs:
build-test:
name: Build, lint, test & SQLLogic
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Install Rust toolchain
uses: dtolnay/rust-toolchain@stable
with:
components: rustfmt, clippy
- name: Cache cargo build
uses: Swatinem/rust-cache@v2
- name: Format
run: cargo fmt --all --check
- name: Clippy
run: cargo clippy --all-targets --all-features -- -D warnings
- name: Unit tests (crontimes-core)
run: cargo test --workspace --all-features
- name: Build worker (release)
run: cargo build --release --bin crontimes-worker
# --- End-to-end SQLLogic tests via the haybarn DuckDB distribution ------
# haybarn ships the `vgi` community extension; the tests also `require icu`
# for the DST cases (auto-loaded from the core extension repository).
- name: Install uv
uses: astral-sh/setup-uv@v5
- name: Install haybarn tooling
run: |
uv tool install haybarn-unittest
uv tool install haybarn
echo "$HOME/.local/bin" >> "$GITHUB_PATH"
- name: Install the vgi community extension
run: echo "INSTALL vgi FROM community;" | uvx haybarn-cli
- name: Run SQLLogic tests
run: ./run_tests.sh