Add diff applying error & improve CI (#32)

* Use stable rust

* Add From impls

* Revert to nightly

* Improve dev env & CI setup

* Update lock

* Add thiserror

* Add diff error

* Fix tests

* Lint

* Rename NumberOrString

* Format

* Fix lint script
This commit is contained in:
Andras Schmelczer 2025-12-06 21:54:08 +00:00 committed by GitHub
parent e03b9147df
commit 88d48afce3
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
17 changed files with 195 additions and 1192 deletions

View file

@ -37,20 +37,8 @@ jobs:
restore-keys: |
${{ runner.os }}-cargo-
- name: Setup rust
run: |
which wasm-pack || cargo install wasm-pack
which cargo-machete || cargo install cargo-machete
- name: Build wasm
run: |
wasm-pack build --target web --features wasm
- name: Lint
run: |
cargo clippy --all-targets --all-features
cargo fmt --all -- --check
cargo machete
run: scripts/lint.sh
- name: Test
run: scripts/test.sh
@ -117,19 +105,8 @@ jobs:
restore-keys: |
${{ runner.os }}-npm-
- name: Setup rust
run: |
which wasm-pack || cargo install wasm-pack
- name: Build wasm
run: |
wasm-pack build --target web --features wasm
- name: Build reconcile-js
run: |
cd reconcile-js
npm ci
npm run build
- name: Build website
run: scripts/build-website.sh
- name: Publish reconcile-js to NPM
run: |