generated from davidji99/terraform-provider-scaffolding
-
Notifications
You must be signed in to change notification settings - Fork 8
37 lines (35 loc) · 879 Bytes
/
documentation.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
name: Documentation Checks
on:
push:
branches:
- master
pull_request:
paths:
- .markdownlinkcheck.json
- .markdownlint.yml
- .github/workflows/documentation.yml
- docs/**
env:
GO_VERSION: "1.18"
GO111MODULE: on
jobs:
markdown-link-check:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4.1.1
- uses: gaurav-nelson/github-action-markdown-link-check@1.0.15
with:
check-modified-files-only: 'yes'
use-quiet-mode: 'yes'
use-verbose-mode: 'yes'
config-file: '.markdownlinkcheck.json'
folder-path: 'docs'
file-extension: '.md'
markdown-lint:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4.1.1
- uses: avto-dev/markdown-lint@v1.5.0
with:
config: '.markdownlint.yml'
args: 'docs'