Skip to content

Update doctave.yaml #108

Update doctave.yaml

Update doctave.yaml #108

Workflow file for this run

name: CI
on:
push:
branches:
- main
pull_request:
branches:
- main
jobs:
build:
strategy:
matrix:
os: [macos-latest, windows-latest]
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v2
- name: Cache Cargo
uses: actions/cache@v2
with:
path: |
~/.cargo/registry
~/.cargo/git
target
key: ${{ runner.os }}-cargo-${{ hashFiles('**/Cargo.lock') }}
- name: Build GUI
run: |
cd gui
yarn
yarn build
- name: Build
run: cargo build
- name: Test
run: cargo test
test-lib:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Cache Cargo
uses: actions/cache@v2
with:
path: |
~/.cargo/registry
~/.cargo/git
target
key: ubuntu-latest-cargo-${{ hashFiles('**/Cargo.lock') }}
- name: Run tests
run: |
cargo install koto_cli --git https://github.com/koto-lang/koto.git
koto --tests koto/pattern.koto