We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a41bb34 commit a7ed714Copy full SHA for a7ed714
.github/workflows/mdlint.yaml
@@ -0,0 +1,26 @@
1
+name: Check Markdown
2
+on:
3
+ pull_request
4
+
5
+jobs:
6
+ check-markdown:
7
+ runs-on: ubuntu-latest
8
+ steps:
9
+ - name: Checkout code
10
+ uses: actions/checkout@v4
11
12
+ - name: Setup Node.js
13
+ uses: actions/setup-node@v4
14
+ with:
15
+ node-version: '21'
16
17
+ - name: Install mdlint
18
+ run: npm install -g @moonbit/markdown-linter
19
20
+ - name: Install moonBit
21
+ run: /bin/bash -c "$(curl -fsSL https://cli.moonbitlang.com/ubuntu_x86_64_moon_setup.sh)"
22
23
+ - name: Run mdlint
24
+ run: mdlint course*/*.md
25
+ env:
26
+ PATH: /home/runner/.moon/bin:$PATH
0 commit comments