Skip to content

sort map fields in custom formatter #741

sort map fields in custom formatter

sort map fields in custom formatter #741

Workflow file for this run

on:
push:
branches:
- main
pull_request: {}
name: Test
jobs:
build_and_test:
name: Test
runs-on: ubuntu-latest
permissions:
checks: write
contents: read
pull-requests: write
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v3
with:
node-version: 20
cache: yarn
- uses: dtolnay/rust-toolchain@stable
with:
toolchain: nightly
components: clippy
- uses: Swatinem/rust-cache@v2
- run: cargo test
- run: cargo run --bin cr calcit/editor/compact.cirru --once
- run: cargo run --bin cr calcit/test.cirru --once
- uses: actions-rs/clippy-check@v1
with:
token: ${{ secrets.GITHUB_TOKEN }}
args: --all-features
- name: "try js"
run: >
yarn
&& yarn tsc
&& cargo run --bin cr calcit/test.cirru --emit-js --once
&& ln -s ../../ node_modules/@calcit/procs
&& cp -v scripts/main.mjs js-out/
&& node js-out/main.mjs