Skip to content

fix: satisfy OSC2026 strict CI gates #19

fix: satisfy OSC2026 strict CI gates

fix: satisfy OSC2026 strict CI gates #19

Workflow file for this run

name: CI
on:
push:
pull_request:
jobs:
quality:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
with:
fetch-depth: 0
ref: ${{ github.event.pull_request.head.sha || github.sha }}
- name: Configure contributor identity
run: |
git config user.name python123
git config user.email python123@users.noreply.gitlink.org.cn
- name: Verify contributor identity
run: python scripts/check_contributor_identity.py --ref HEAD
- name: Install MoonBit
run: |
curl -fsSL https://cli.moonbitlang.com/install/unix.sh | bash
echo "$HOME/.moon/bin" >> "$GITHUB_PATH"
- name: Update MoonBit registry
run: moon update
- name: Show MoonBit version
run: moon version --all
- name: Update interfaces
run: |
moon info
git diff --exit-code -- '*.mbti'
- name: Check formatting
run: moon fmt --check
- name: Check diagnostics
run: moon check --deny-warn
- name: Run library tests with coverage
run: moon test --deny-warn --enable-coverage
- name: Run in-memory demo
run: moon run cmd/main --deny-warn
- name: Build and test native CLI
run: |
moon check --target native --deny-warn
moon test --target native --deny-warn
- name: Verify file-driven CLI outputs
run: sh scripts/demo-v0.3.sh