Skip to content

Fix serialize and deserialize of quality report V050 #23

Fix serialize and deserialize of quality report V050

Fix serialize and deserialize of quality report V050 #23

Workflow file for this run

name: Build and test
on:
push:
tags:
- "v*"
branches:
- main
pull_request:
env:
CARGO_TERM_COLOR: always
jobs:
build-and-test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
submodules: recursive
- uses: dtolnay/[email protected]
- uses: jetli/[email protected]
with:
version: "v0.12.1"
- uses: pnpm/action-setup@v4
with:
version: 9
- name: Check
run: |
rustup component add clippy
cargo clippy --no-deps
- name: Build
run: cargo build --release
- name: Test Rust
run: cargo test
- name: Build WASM
run: wasm-pack build --release --target nodejs --reference-types --weak-refs
- name: Test WASM
run: |
pnpm i
pnpm test
- name: Archive NPM package
uses: actions/upload-artifact@v4
with:
name: xoev-xwasser-pkg
path: ./pkg
publish:
if: startsWith( github.ref, 'refs/tags/v' )
uses: ./.github/workflows/publish.yaml
needs: build-and-test
secrets: inherit