Skip to content

run the demo

run the demo #11

Workflow file for this run

name: check
on:
push:
branches:
- main
pull_request:
jobs:
build:
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@v4
- name: Setup Moonbit
uses: hustcer/[email protected]
- name: moon check
run: moon check
# - name: moon info
# run: |
# moon info
# git diff --exit-code
- name: moon test
run: |
moon test
moon test --target js
# - name: moon bundle
# run: moon bundle
# - name: check core size
# run: ls -alh `find ./target/bundle -name *.core`
- name: format diff
run: |
moon fmt
git diff