Skip to content

Commit

Permalink
CI: add markdown-link-check
Browse files Browse the repository at this point in the history
  • Loading branch information
lpenz committed Dec 4, 2021
1 parent 18b0b1c commit e27e9d3
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 0 deletions.
10 changes: 10 additions & 0 deletions .github/markdown-link-check.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
{
"httpHeaders": [
{
"urls": ["https://crates.io/crates/sqrid"],
"headers": {
"Accept": "text/html"
}
}
]
}
8 changes: 8 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,14 @@ jobs:
with:
command: clippy
args: -- -D warnings
markdown-link-check:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: gaurav-nelson/github-action-markdown-link-check@v1.0.13
with:
use-verbose-mode: yes
config-file: '.github/markdown-link-check.json'
publish-crate:
needs: [ omnilint, cargo-check-doc, test-coverage, rustfmt, clippy ]
runs-on: ubuntu-latest
Expand Down

0 comments on commit e27e9d3

Please sign in to comment.