Skip to content

Commit 140a37f

Browse files
committed
add checking code formatting (YAML and Markdown) to CI
1 parent bbbfc15 commit 140a37f

File tree

1 file changed

+15
-0
lines changed

1 file changed

+15
-0
lines changed

.github/workflows/build.yml

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,21 @@ name: Build MSVC project
44
on: [ push, pull_request ] # yamllint disable-line rule:truthy
55

66
jobs:
7+
check-formatting:
8+
name: Check Code Formatting
9+
runs-on: ubuntu-latest
10+
11+
steps:
12+
- uses: actions/checkout@v2
13+
14+
- name: Check Markdown syntax (docker)
15+
shell: sh
16+
run: make -- check-md
17+
18+
- name: Check YAML syntax (docker)
19+
shell: sh
20+
run: make -- check-yaml
21+
722
build:
823
name: Visual Studio 2019
924
runs-on: windows-2019

0 commit comments

Comments
 (0)