Conversation
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).
Nightly moon turns several deprecation warnings into hard errors. Add `--warn-list=-a` so CI only flags real failures. Generated with Claude Code (https://claude.com/claude-code).
- lisp_interpreter_test.mbt: three inspect snapshots drifted from the current nightly's string output, regenerated via moon test -u. - moon.pkg: add trailing newline so moon fmt is stable (CI's "moon fmt && git diff --exit-code" previously failed on this). - .gitignore: add _build/ so test runs don't pollute the worktree. All 33 tests pass under moon test --target native. Generated with Claude Code (https://claude.com/claude-code).
Addresses Devin Review feedback on PR #5. - Remove Lisp ';' comments from let/let* test strings; the tokenizer treats ';' as an atom rather than a comment, which broke the tests. Moved those notes to MoonBit '//' comments. - Wrap the multi-body lambda in the key_difference test with 'begin', since the interpreter only accepts a single lambda body. Restores original expected values (15, 6, 20, 20, 30). Co-Authored-By: Bob Zhang <bobzhang1988@gmail.com>
Resolve conflicts in .gitignore (keep logs.json and _build/) and moon.pkg (adopt the import block added on main). Co-Authored-By: Bob Zhang <bobzhang1988@gmail.com>
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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Why
This repo currently ships no GitHub Actions workflows, so broken changes
on
mainaren't caught until someone runsmoon checklocally. Adds asimple CI job that runs on every push and PR.
What the workflow does
nightlychannel(
https://cli.moonbitlang.com/install/unix.sh | bash -s nightly)moon updatemoon checkmoon testNo format check for now — wanted to keep this change low-friction; can be
added later.
Based on the existing
moonbit-community/loop_invariantsCI template.🤖 Generated with Claude Code