Templating (#43)

Add new `templating` crate with custom parser/renderer for dealing with
variables
This commit is contained in:
Gregory Schier
2024-06-07 08:39:12 -07:00
committed by GitHub
parent a83e094f00
commit e326405f4f
13 changed files with 572 additions and 31 deletions

16
.github/workflows/ci-js.yml vendored Normal file
View File

@@ -0,0 +1,16 @@
on: [push, pull_request]
name: CI (JS)
jobs:
test:
name: Check
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: lts/*
- run: npm ci
- run: npm run lint
- run: npm test

30
.github/workflows/ci-rust.yml vendored Normal file
View File

@@ -0,0 +1,30 @@
on:
push:
paths:
- src-tauri/**
name: CI (Rust)
defaults:
run:
working-directory: src-tauri
jobs:
test:
name: Test
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
sparse-checkout: 'src-tauri'
sparse-checkout-cone-mode: false
- run: |
sudo apt-get update
sudo apt-get install -y libwebkit2gtk-4.1-dev
- uses: actions-rs/toolchain@v1
with:
profile: minimal
toolchain: stable
override: true
- run: cargo check
- run: cargo test --all