-
-
Notifications
You must be signed in to change notification settings - Fork 180
42 lines (31 loc) · 906 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
42
name: CI
on:
push:
pull_request:
schedule:
- cron: '18 16 1/7 * *'
jobs:
lint-markdown:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v1
- name: Setup Node.js
uses: actions/setup-node@v1
- name: Install awesome-lint
run: npm install --global https://github.com/gbdev/list-linter
- name: Run awesome-lint
run: awesome-lint
check-deadlinks:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v1
- name: Download brok package
run: wget https://github.com/smallhadroncollider/brok/releases/download/1.1.0/brok-1.1.0_x86-64-linux.deb
- name: Install brok (and dependencies)
run: |
sudo apt-get install libtinfo5
sudo dpkg -i brok-1.1.0_x86-64-linux.deb
- name: Run awesome-lint
run: brok --only-failures *.md