Skip to content

feature - land RFC 007 Prism LazyFrame slice (#17, most of #16) #15

feature - land RFC 007 Prism LazyFrame slice (#17, most of #16)

feature - land RFC 007 Prism LazyFrame slice (#17, most of #16) #15

Workflow file for this run

# InQL CI — Incan library package
#
# Builds the Incan compiler from source in CI, then runs the InQL package
# checks against that local binary. Keeping this workflow self-contained avoids
# a hard dependency on a remote composite action path staying in sync.
name: CI
on:
push:
branches: [main]
pull_request:
branches: [main]
workflow_dispatch:
concurrency:
group: ci-${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
env:
CARGO_TERM_COLOR: always
RUST_BACKTRACE: 1
INCAN_NO_BANNER: 1
jobs:
inql:
name: InQL (build + test)
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
matrix:
os: [ubuntu-latest, macos-latest]
steps:
- name: Check out InQL
uses: actions/checkout@v4
- name: Check out Incan
uses: actions/checkout@v4
with:
repository: dannys-code-corner/incan
ref: main
path: incan
- name: Install Rust toolchain
uses: dtolnay/rust-toolchain@stable
- name: Cache Incan build artifacts
uses: Swatinem/rust-cache@v2
with:
workspaces: incan -> target
- name: Build Incan compiler
working-directory: incan
run: cargo build --locked --bin incan
- name: Expose local Incan binary on PATH
run: echo "$GITHUB_WORKSPACE/incan/target/debug" >> "$GITHUB_PATH"
- name: Show toolchain
run: |
incan --version
rustc --version
- name: Format check (package .incn)
run: make fmt-check
- name: Build library
run: make build
- name: Run tests
run: make test