Verify docs #512
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Verify docs | |
on: | |
schedule: | |
# every day at 9am | |
- cron: '0 9 * * *' | |
jobs: | |
verify: | |
name: Verify docs and spelling | |
runs-on: [ubuntu-latest] | |
steps: | |
- name: Check-out code | |
uses: actions/checkout@v3 | |
- name: Set up Go using version from go.mod | |
uses: actions/setup-go@v3 | |
with: | |
go-version-file: 'go.mod' | |
- name: Run verify scripts | |
run: make verify | |
- name: Checking for broken Markdown links for main branch | |
uses: gaurav-nelson/github-action-markdown-link-check@v1 | |
with: | |
folder-path: './docs' | |
file-path: './README.md, ./CONTRIBUTING.md, ./GOVERNANCE.md, ./MAINTAINERS.md, ./SECURITY.md' | |
config-file: 'hack/.md_links_config.json' | |
- name: Markdownlint | |
run: | | |
sudo npm install -g markdownlint-cli@0.31.1 | |
make markdownlint |