forked from vlang/edu-platform
-
Notifications
You must be signed in to change notification settings - Fork 0
41 lines (33 loc) · 870 Bytes
/
ci.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
name: CI
### The documentation *SHOULD* stay valid, and the developers should receive
### early warning, if they break it.
on:
push:
pull_request:
jobs:
check-markdown:
runs-on: ubuntu-20.04
steps:
- name: Install V
id: install-v
uses: vlang/[email protected]
with:
check-latest: true
- name: Check out edu-platform
uses: actions/checkout@v4
with:
path: edu-platform
- name: Install V project dependencies
run: cd edu-platform; v install
- name: Check project compilation
run: |
cd edu-platform
v .
- name: Check project code is formatted
run: |
cd edu-platform
v fmt -verify .
- name: Check markdown line length & code examples
run: |
cd edu-platform
v check-md .