Skip to content

update build script and fix scaffold docs build #35

update build script and fix scaffold docs build

update build script and fix scaffold docs build #35

Workflow file for this run

name: Rust
on:
push:
branches: [ "main" ]
pull_request:
branches: [ "main" ]
env:
CARGO_TERM_COLOR: always
jobs:
build:
strategy:
matrix:
os: [ubuntu-latest, macos-latest]
runs-on: ${{ matrix.os }}
timeout-minutes: 30
steps:
- uses: actions/checkout@v4
- uses: actions/cache@v4
with:
path: |
~/.cargo/bin/
~/.cargo/registry/index/
~/.cargo/registry/cache/
~/.cargo/git/db/
target/
key: ${{ runner.os }}-cargo-build-stable-${{ hashFiles('**/Cargo.toml') }}
- name: Build Scaffold
run: cd crates/sickle_ui_scaffold/ && cargo build --verbose
- name: Build Sickle UI
run: cargo build --verbose
- name: Run tests
run: cargo test --verbose