-
Notifications
You must be signed in to change notification settings - Fork 492
45 lines (41 loc) · 1.45 KB
/
tlroadmap_workflow.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
name: Checks
on:
push:
branches:
- master
pull_request:
branches:
- master
jobs:
yaspeller:
name: Spell check
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Spell check
# problem matching breaks loop when it finds unrelated data, so we use reverse grep to clear output
run: |
echo "::add-matcher::.github/problem-matchers/yaspeller.json"
set -o pipefail; npx yaspeller -c .yaspellerrc.json . 2>&1 >/dev/null | grep -v "\-\-\-\-\-" | grep -v "Typos"
echo "::remove-matcher owner=yaspeller::"
editor-config:
name: Editor Config check
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Editor Config Check
# problem matching breaks loop when it finds unrelated data, so we use reverse grep to clear output
run: |
echo "::add-matcher::.github/problem-matchers/editor-config.json"
set -o pipefail; npx eclint check "**/*.md" 2>&1 >/dev/null | grep -v "EditorConfig"
echo "::remove-matcher owner=editor-config::"
directory-tree:
name: Directory tree check
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Directory tree check
run: |
echo "::add-matcher::.github/problem-matchers/check-directory-tree.json"
bash ./tools/check_directory_tree.sh tlroadmap
echo "::remove-matcher owner=check-directory-tree::"