-
Notifications
You must be signed in to change notification settings - Fork 72
47 lines (41 loc) · 1.14 KB
/
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
43
44
45
46
47
name: CI pipeline
on:
push:
branches:
- main
- master
workflow_dispatch:
# for security reasons the github actions are pinned to specific release versions
jobs:
link_checker:
name: Link checker
runs-on: ubuntu-24.04
steps:
- name: Checkout markdown
uses: actions/checkout@v4.1.1
- name: Link Checker
uses: lycheeverse/lychee-action@v1.10.0
with:
args: --no-progress --max-retries 5 --exclude-path './docs/about-top-10/in-the-news.md' './docs/**/*.md'
fail: true
env:
GITHUB_TOKEN: ${{secrets.GITHUB_TOKEN}}
md_linter:
name: Lint markdown
runs-on: ubuntu-24.04
steps:
- name: Checkout markdown
uses: actions/checkout@v4.1.1
- name: Lint markdown
uses: DavidAnson/markdownlint-cli2-action@v16.0.0
with:
config: '.markdownlint.yaml'
globs: './docs/**/*.md'
spell_checker:
name: Check spelling
runs-on: ubuntu-24.04
steps:
- name: Checkout markdown
uses: actions/checkout@v4.1.1
- name: spell_checker
uses: rojopolis/spellcheck-github-actions@0.41.0