Skip to content

chore(deps): bump rusqlite from 0.30.0 to 0.40.2 in /core #160

chore(deps): bump rusqlite from 0.30.0 to 0.40.2 in /core

chore(deps): bump rusqlite from 0.30.0 to 0.40.2 in /core #160

Workflow file for this run

name: WOML CI
on:
push:
branches: [master, main]
pull_request:
branches: [master, main]
concurrency:
group: woml-ci-${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
permissions:
contents: read
env:
BUN_VERSION: '1.3.14'
CARGO_BUILD_JOBS: '1'
CARGO_TERM_COLOR: always
jobs:
frontend:
name: Language frontend
runs-on: ubuntu-24.04
steps:
- uses: actions/checkout@v6
- uses: oven-sh/setup-bun@v2
with:
bun-version: ${{ env.BUN_VERSION }}
- name: Install locked dependencies
working-directory: woml-cli
run: bun install --frozen-lockfile
- name: Install compiler dependencies
working-directory: woml
run: bun install --frozen-lockfile
- name: Test parsing, validation, and compilation
working-directory: woml-cli
run: bun test ../woml/tests --max-concurrency=1
- name: Type-check frontend and CLI
working-directory: woml-cli
run: bun run typecheck
- name: Failure diagnostics
if: failure()
run: |
bun --version
git status --short
cli:
name: CLI and runtime journeys
runs-on: ubuntu-24.04
steps:
- uses: actions/checkout@v6
- uses: oven-sh/setup-bun@v2
with:
bun-version: ${{ env.BUN_VERSION }}
- uses: dtolnay/rust-toolchain@stable
- name: Install locked dependencies
working-directory: woml-cli
run: bun install --frozen-lockfile
- name: Install compiler dependencies
working-directory: woml
run: bun install --frozen-lockfile
- name: Build the local runtime once
working-directory: woml-cli
run: bun run build
- name: Test portable CLI contracts
working-directory: woml-cli
run: bun run test:cli:contracts
- name: Test communication providers
working-directory: woml-cli
run: bun run test:cli:providers
- name: Test runtime operations
working-directory: woml-cli
run: bun run test:cli:operations
- name: Failure diagnostics
if: failure()
run: |
bun --version
cargo --version
git status --short
find .woml woml-cli/.woml -maxdepth 3 -type f -print 2>/dev/null || true
rust:
name: Rust engine
runs-on: ubuntu-24.04
steps:
- uses: actions/checkout@v6
- uses: oven-sh/setup-bun@v2
with:
bun-version: ${{ env.BUN_VERSION }}
- uses: dtolnay/rust-toolchain@stable
with:
components: clippy, rustfmt
- name: Check formatting
working-directory: core
run: cargo fmt --all -- --check
- name: Lint the engine
working-directory: woml-cli
run: bun run test:communication-provider-clippy
- name: Test engine units serially
working-directory: core
run: >-
cargo test --config profile.dev.debug=0
--config profile.dev.incremental=false -j 1 --locked
-p woml-engine --lib -- --test-threads=1
- name: Test durable engine baseline serially
working-directory: core
run: >-
cargo test --config profile.dev.debug=0
--config profile.dev.incremental=false -j 1 --locked
-p woml-engine
--test dag_engine
--test durable_event_store
--test script_host_protocol
--test trigger_occurrence
--test retry_runtime
--test runtime_policy_store
--test backup_restore
-- --test-threads=1
- name: Failure diagnostics
if: failure()
run: |
rustc --version
cargo --version
git status --short
architecture:
name: Architecture separation
runs-on: ubuntu-24.04
steps:
- uses: actions/checkout@v6
- uses: oven-sh/setup-bun@v2
with:
bun-version: ${{ env.BUN_VERSION }}
- uses: dtolnay/rust-toolchain@stable
- name: Install locked dependencies
working-directory: woml-cli
run: bun install --frozen-lockfile
- name: Install compiler dependencies
working-directory: woml
run: bun install --frozen-lockfile
- name: Verify the WOML-only boundary
working-directory: woml-cli
run: bun run test:architecture-separation
- name: Failure diagnostics
if: failure()
run: git status --short
documentation:
name: Documentation and examples
runs-on: ubuntu-24.04
steps:
- uses: actions/checkout@v6
- uses: oven-sh/setup-bun@v2
with:
bun-version: ${{ env.BUN_VERSION }}
- name: Install locked dependencies
working-directory: woml-cli
run: bun install --frozen-lockfile
- name: Install compiler dependencies
working-directory: woml
run: bun install --frozen-lockfile
- name: Verify docs, links, examples, and clean quick start
working-directory: woml-cli
run: bun run test:documentation
- name: Failure diagnostics
if: failure()
run: git status --short
package:
name: Package contract
runs-on: ubuntu-24.04
steps:
- uses: actions/checkout@v6
- uses: oven-sh/setup-bun@v2
with:
bun-version: ${{ env.BUN_VERSION }}
- uses: actions/setup-node@v6
with:
node-version: 24
package-manager-cache: false
- name: Install locked dependencies
working-directory: woml-cli
run: bun install --frozen-lockfile
- name: Install compiler dependencies
working-directory: woml
run: bun install --frozen-lockfile
- name: Build the portable release package
working-directory: woml-cli
run: bun run build:release
- name: Verify release identity and package contracts
working-directory: woml-cli
run: >-
bun test tests/release-identity.test.ts
tests/native-platform-release.test.ts
tests/release-package.test.ts
tests/release-artifact.test.ts
tests/release-family.test.ts
tests/release-automation.test.ts
--max-concurrency=1
- name: Pack, seal, and reverify the main artifact
run: |
bun woml-cli/scripts/release-artifact.ts pack --root release/main
bun woml-cli/scripts/release-artifact.ts seal --root release/main --kind main
bun woml-cli/scripts/release-artifact.ts verify --root release/main
- uses: actions/upload-artifact@v6
with:
name: ci-woml-main
path: release/main
if-no-files-found: error
retention-days: 7
- name: Failure diagnostics
if: failure()
run: |
node --version
npm --version
find release -maxdepth 4 -type f -print 2>/dev/null || true
git status --short