chore: Update CI #2
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: CI | |
on: | |
workflow_dispatch: | |
pull_request: | |
paths-ignore: | |
- '.vscode' | |
- '*.md' | |
push: | |
branches: | |
- main | |
jobs: | |
ci_check: | |
name: Code Check | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout Source | |
uses: actions/checkout@v4 | |
- name: Setup Moonup | |
uses: jaxxstorm/action-install-gh-release@v1.12.0 | |
with: | |
repo: chawyehsu/moonup | |
- name: Setup MoonBit | |
run: | | |
moonup install latest | |
- name: Run Tests | |
run: | | |
export PATH=/home/runner/.moon/bin:$PATH | |
moon test -v |