-
-
Notifications
You must be signed in to change notification settings - Fork 1
executable file
路29 lines (27 loc) 路 704 Bytes
/
Copy pathci.yml
File metadata and controls
executable file
路29 lines (27 loc) 路 704 Bytes
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
name: CI
on:
push:
branches:
- "*"
tags-ignore:
- v*
pull_request:
jobs:
lint:
name: 馃帹 Lint
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v2
- name: Install code formatter
run: sudo apt-get install clang-format
- name: Check code style
run: |
find include -type f | xargs clang-format --dry-run -Werror
find src -type f | xargs clang-format --dry-run -Werror
- name: Use Node.js
uses: actions/setup-node@v2
- name: Install markdownlint
run: npm install -g markdownlint-cli
- name: Check Markdown files
run: markdownlint .