Skip to content

Commit 219116e

Browse files
committed
promote
1 parent b0868c0 commit 219116e

1 file changed

Lines changed: 51 additions & 0 deletions

File tree

.github/workflows/check.yml

Lines changed: 51 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,51 @@
1+
name: check
2+
3+
on:
4+
push:
5+
branches:
6+
- master
7+
- main
8+
pull_request:
9+
10+
jobs:
11+
check:
12+
strategy:
13+
fail-fast: false
14+
runs-on: ubuntu-latest
15+
continue-on-error: false
16+
steps:
17+
- uses: actions/checkout@v4
18+
with:
19+
submodules: 'recursive'
20+
21+
- name: install
22+
run: |
23+
curl -fsSL https://cli.moonbitlang.com/install/unix.sh | bash
24+
echo "$HOME/.moon/bin" >> $GITHUB_PATH
25+
26+
- name: moon version
27+
run: |
28+
moon version --all
29+
30+
- name: moon check
31+
run: |
32+
moon update
33+
moon check --deny-warn
34+
35+
- name: moon info
36+
run: |
37+
moon info --target all
38+
git diff --exit-code
39+
40+
- name: format diff
41+
run: |
42+
moon fmt
43+
git diff --exit-code
44+
45+
- name: Set ulimit
46+
run: |
47+
ulimit -s 8176
48+
49+
- name: moon test
50+
run: |
51+
moon test --target all

0 commit comments

Comments
 (0)