-
Notifications
You must be signed in to change notification settings - Fork 44
47 lines (45 loc) · 947 Bytes
/
lint.yaml
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
42
43
44
45
46
47
name: Lint
on:
pull_request:
branches:
- main
- release/*
jobs:
spelling:
name: Spelling check
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v2
- name: Install dependencies
run: |
curl -L https://git.io/misspell | sudo bash -s -- -b /bin
- name: Check spelling
run: |
misspell -error .
cpp:
name: CPP code lint
runs-on: ubuntu-20.04
steps:
- name: Checkout
uses: actions/checkout@v2
- name: Echo clang-format version
run: |
clang-format --version
- name: Lint
run: |
make cpplint
md:
name: Markdown code lint
runs-on: ubuntu-20.04
steps:
- name: Checkout
uses: actions/checkout@v2
- name: Install mdl
run: |
sudo apt-get update
sudo apt-get install rubygems
sudo gem install mdl
- name: Lint
run: |
make mdlint