-
Notifications
You must be signed in to change notification settings - Fork 3
166 lines (159 loc) · 4.54 KB
/
scheduled.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
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
---
name: Scheduled Integration Tests
on:
workflow_dispatch:
schedule:
- cron: "0 8 * * *"
jobs:
mdBook:
strategy:
fail-fast: false
matrix:
os: [ubuntu-20.04, ubuntu-22.04]
version: [14, 16, 18]
runs-on: ${{ matrix.os }}
name: MdBook (Node ${{ matrix.version }} - ${{ matrix.os }})
steps:
- uses: actions/checkout@v4
- name: Setup matrix node
uses: actions/setup-node@v3
with:
node-version: ${{ matrix.version }}
- name: Download latest mdbook
uses: ./
with:
token: ${{ secrets.GITHUB_TOKEN }}
- name: Test mdBook binary
run: mdbook --version || exit 1
linkcheck:
needs: [mdBook]
strategy:
fail-fast: false
matrix:
os: [ubuntu-20.04, ubuntu-22.04]
version: [14, 16, 18]
runs-on: ${{ matrix.os }}
name: Mdbook Linkcheck (Node ${{ matrix.version }} - ${{ matrix.os }})
steps:
- uses: actions/checkout@v4
- name: Setup matrix node
uses: actions/setup-node@v3
with:
node-version: ${{ matrix.version }}
- name: Download latest linkcheck
uses: ./
with:
token: ${{ secrets.GITHUB_TOKEN }}
use-linkcheck: true
- name: Test mdbook-linkcheck binary
run: mdbook-linkcheck --version || exit 1
mermaid:
needs: [mdBook]
strategy:
fail-fast: false
matrix:
os: [ubuntu-20.04, ubuntu-22.04]
version: [14, 16, 18]
runs-on: ${{ matrix.os }}
name: Mdbook Mermaid (Node ${{ matrix.version }} - ${{ matrix.os }})
steps:
- uses: actions/checkout@v4
- name: Setup matrix node
uses: actions/setup-node@v3
with:
node-version: ${{ matrix.version }}
- name: Download latest mermaid
uses: ./
with:
token: ${{ secrets.GITHUB_TOKEN }}
use-mermaid: true
- name: Test mdbook-mermaid binary
run: mdbook-mermaid --version || exit 1
toc:
needs: [mdBook]
strategy:
fail-fast: false
matrix:
os: [ubuntu-20.04, ubuntu-22.04]
version: [14, 16, 18]
runs-on: ${{ matrix.os }}
name: Mdbook ToC (Node ${{ matrix.version }} - ${{ matrix.os }})
steps:
- uses: actions/checkout@v4
- name: Setup matrix node
uses: actions/setup-node@v3
with:
node-version: ${{ matrix.version }}
- name: Download latest toc
uses: ./
with:
token: ${{ secrets.GITHUB_TOKEN }}
use-toc: true
- name: Test mdbook-toc binary
run: mdbook-toc --version || exit 1
open_on_gh:
needs: [mdBook]
strategy:
fail-fast: false
matrix:
os: [ubuntu-20.04, ubuntu-22.04]
version: [14, 16, 18]
runs-on: ${{ matrix.os }}
name: Mdbook OpenOnGh (Node ${{ matrix.version }} - ${{ matrix.os }})
steps:
- uses: actions/checkout@v4
- name: Setup matrix node
uses: actions/setup-node@v3
with:
node-version: ${{ matrix.version }}
- name: Download latest open-on-gh
uses: ./
with:
token: ${{ secrets.GITHUB_TOKEN }}
use-opengh: true
- name: Test mdbook-open-on-gh binary
run: mdbook-open-on-gh --version || exit 1
admonish:
needs: [mdBook]
strategy:
fail-fast: false
matrix:
os: [ubuntu-20.04, ubuntu-22.04]
version: [14, 16, 18]
runs-on: ${{ matrix.os }}
name: Mdbook Admonish (Node ${{ matrix.version }} - ${{ matrix.os }})
steps:
- uses: actions/checkout@v4
- name: Setup matrix node
uses: actions/setup-node@v3
with:
node-version: ${{ matrix.version }}
- name: Download latest admonish
uses: ./
with:
token: ${{ secrets.GITHUB_TOKEN }}
use-admonish: true
- name: Test mdbook-admonish binary
run: mdbook-admonish --version || exit 1
katex:
needs: [mdBook]
strategy:
fail-fast: false
matrix:
os: [ubuntu-20.04, ubuntu-22.04]
version: [14, 16, 18]
runs-on: ${{ matrix.os }}
name: Mdbook Katex (Node ${{ matrix.version }} - ${{ matrix.os }})
steps:
- uses: actions/checkout@v4
- name: Setup matrix node
uses: actions/setup-node@v3
with:
node-version: ${{ matrix.version }}
- name: Download latest katex
uses: ./
with:
token: ${{ secrets.GITHUB_TOKEN }}
use-katex: true
- name: Test mdbook-katex binary
run: mdbook-katex --version || exit 1