run the demo #14
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: check | |
on: | |
push: | |
branches: | |
- main | |
pull_request: | |
jobs: | |
build: | |
runs-on: ubuntu-22.04 | |
steps: | |
- uses: actions/checkout@v4 | |
- name: install | |
if: ${{ matrix.os != 'windows-latest' }} | |
run: | | |
curl -fsSL https://cli.moonbitlang.com/install/unix.sh | bash | |
echo "$HOME/.moon/bin" >> $GITHUB_PATH | |
# - name: moon check | |
# run: moon check | |
# - name: moon info | |
# run: | | |
# moon info | |
# git diff --exit-code | |
- name: moon test | |
run: | | |
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 |