Skip to content

Commit b4a1ce1

Browse files
committed
chore: add nightly CI workflow
Adds a GitHub Actions workflow that runs the basic `moon check` and `moon test` pipeline against the MoonBit nightly channel on every push and pull request. Generated with Claude Code (https://claude.com/claude-code).
1 parent 0d84ec6 commit b4a1ce1

1 file changed

Lines changed: 29 additions & 0 deletions

File tree

.github/workflows/ci.yml

Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
name: CI
2+
3+
on:
4+
push:
5+
branches: [main, master]
6+
pull_request:
7+
8+
jobs:
9+
check-and-test:
10+
runs-on: ubuntu-latest
11+
steps:
12+
- uses: actions/checkout@v5
13+
14+
- name: Set up MoonBit (nightly)
15+
run: |
16+
curl -fsSL https://cli.moonbitlang.com/install/unix.sh | bash -s nightly
17+
echo "$HOME/.moon/bin" >> $GITHUB_PATH
18+
19+
- name: Show MoonBit version
20+
run: moon version --all
21+
22+
- name: Update dependencies
23+
run: moon update
24+
25+
- name: Check
26+
run: moon check
27+
28+
- name: Test
29+
run: moon test

0 commit comments

Comments
 (0)