删除不必要的CHANGELOG.md文件 #4
This file contains hidden or 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: | |
| push: | |
| branches: [ main, develop ] | |
| pull_request: | |
| branches: [ main, develop ] | |
| jobs: | |
| test: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - name: Setup MoonBit | |
| uses: hustcer/setup-moonbit@v1 | |
| with: | |
| version: latest | |
| - name: Build | |
| run: moon build | |
| - name: Run tests | |
| run: moon test | |
| lint: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - name: Setup MoonBit | |
| uses: hustcer/setup-moonbit@v1 | |
| with: | |
| version: latest | |
| - name: Check code quality | |
| run: moon check |