Skip to content

Commit 9fcf54b

Browse files
committed
chore: add check workflow
Signed-off-by: Timothée Mazzucotelli <dev@pawamoy.fr>
1 parent 1a57242 commit 9fcf54b

1 file changed

Lines changed: 47 additions & 0 deletions

File tree

.github/workflows/check.yml

Lines changed: 47 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,47 @@
1+
# Copyright (c) Zensical LLC <https://zensical.org>
2+
3+
# Permission is hereby granted, free of charge, to any person obtaining a copy
4+
# of this software and associated documentation files (the "Software"), to
5+
# deal in the Software without restriction, including without limitation the
6+
# rights to use, copy, modify, merge, publish, distribute, sublicense, and/or
7+
# sell copies of the Software, and to permit persons to whom the Software is
8+
# furnished to do so, subject to the following conditions:
9+
10+
# The above copyright notice and this permission notice shall be included in
11+
# all copies or substantial portions of the Software.
12+
13+
# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
14+
# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
15+
# FITNESS FOR A PARTICULAR PURPOSE AND NON-INFRINGEMENT. IN NO EVENT SHALL THE
16+
# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
17+
# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
18+
# FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS
19+
# IN THE SOFTWARE.
20+
21+
name: Check
22+
23+
on:
24+
pull_request:
25+
push:
26+
branches:
27+
- master
28+
workflow_dispatch:
29+
30+
jobs:
31+
check:
32+
runs-on: ubuntu-latest
33+
name: Build
34+
steps:
35+
- name: Checkout repository
36+
uses: actions/checkout@v6
37+
38+
- name: Set up Python
39+
uses: actions/setup-python@v6
40+
with:
41+
python-version: "3.x"
42+
43+
- name: Install dependencies
44+
run: pip install zensical
45+
46+
- name: Build documentation
47+
run: zensical build --strict

0 commit comments

Comments
 (0)