Skip to content

Use powersync_sqlite_nostd for internal queries #87

Use powersync_sqlite_nostd for internal queries

Use powersync_sqlite_nostd for internal queries #87

Workflow file for this run

name: Build and test
on:
push:
pull_request:
branches:
- main
env:
CARGO_TERM_COLOR: always
jobs:
rust:
if: github.event_name == 'push' || (github.event_name == 'pull_request' && github.event.pull_request.head.repo.full_name != github.repository)
name: Build and test
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v6
- name: Cache
uses: actions/cache@v4
with:
path: |
~/.cargo/registry
~/.cargo/git
target
key: ${{ runner.os }}-cargo-${{ hashFiles('**/Cargo.lock') }}
- run: rustup update stable && rustup default stable && rustup component add clippy
- run: cargo build --verbose
name: Building project
- run: cargo clippy
- run: cargo test --verbose
name: Testing project
- name: Build without rusqlite
run: cargo build --no-default-features