Skip to content

Commit 0013c0f

Browse files
committed
fix(ci): use latest moonbit toolchain
1 parent fdecc6c commit 0013c0f

File tree

1 file changed

+2
-50
lines changed

1 file changed

+2
-50
lines changed

.github/workflows/check.yaml

Lines changed: 2 additions & 50 deletions
Original file line numberDiff line numberDiff line change
@@ -21,17 +21,16 @@ jobs:
2121
- name: Setup Python 3.13
2222
uses: actions/setup-python@v4
2323
with:
24-
python-version: '3.13'
24+
python-version: "3.13"
2525

2626
- name: Verify Python installation
2727
run: |
2828
python3 --version
2929
python3 -c "import sys; print(f'Python {sys.version_info.major}.{sys.version_info.minor}.{sys.version_info.micro}')"
3030
31-
# TODO: remove bleeding
3231
- name: Install Moonbit
3332
run: |
34-
curl -fsSL https://cli.moonbitlang.com/install/unix.sh | bash -s nightly
33+
curl -fsSL https://cli.moonbitlang.com/install/unix.sh | bash
3534
echo "$HOME/.moon/bin" >> $GITHUB_PATH
3635
3736
- name: Moon version
@@ -110,50 +109,3 @@ jobs:
110109
fi
111110
done
112111
(exit $_passed)
113-
114-
nightly-check:
115-
continue-on-error: true
116-
strategy:
117-
matrix:
118-
os: [ubuntu-latest, macos-latest]
119-
runs-on: ${{ matrix.os }}
120-
steps:
121-
- uses: actions/checkout@v4
122-
123-
- name: Setup Python 3.13
124-
uses: actions/setup-python@v4
125-
with:
126-
python-version: '3.13'
127-
128-
- name: Install Moonbit (nightly)
129-
run: |
130-
curl -fsSL https://cli.moonbitlang.com/install/unix.sh | bash -s nightly
131-
echo "$HOME/.moon/bin" >> $GITHUB_PATH
132-
133-
- name: Moon version
134-
run: |
135-
moon version --all
136-
moonrun --version
137-
138-
- name: Set ulimit and run moon test
139-
run: |
140-
ulimit -s 8176
141-
moon test --target native
142-
moon test --target native --release
143-
144-
- name: Moon test --target native --doc
145-
run: |
146-
moon test --target native --doc
147-
148-
- name: Moon check --target native
149-
run: moon check --target native
150-
151-
- name: Moon info
152-
run: |
153-
moon info --target native
154-
git diff
155-
156-
- name: Format diff
157-
run: |
158-
moon fmt
159-
git diff

0 commit comments

Comments
 (0)