mirror of
https://github.com/DataDog/go-profiler-notes.git
synced 2026-06-20 16:45:26 +08:00
Add link checker to detect broken links (#18)
Just a suggestion, the link checker would detect broken links via github action. Might be helpful for a repo which consists a lot of markdown files.
This commit is contained in:
parent
b82d25329f
commit
bb9b9ec34f
1 changed files with 18 additions and 0 deletions
18
.github/workflows/ci.yml
vendored
Normal file
18
.github/workflows/ci.yml
vendored
Normal file
|
|
@ -0,0 +1,18 @@
|
||||||
|
name: CI
|
||||||
|
|
||||||
|
on:
|
||||||
|
push:
|
||||||
|
branches: [ "main" ]
|
||||||
|
pull_request:
|
||||||
|
branches: [ "main" ]
|
||||||
|
|
||||||
|
jobs:
|
||||||
|
check-links:
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
steps:
|
||||||
|
- name: Checkout
|
||||||
|
uses: actions/checkout@main
|
||||||
|
- name: Markup Link Checker (mlc)
|
||||||
|
uses: becheran/mlc@v0.15.4
|
||||||
|
with:
|
||||||
|
args: --no-web-links
|
||||||
Loading…
Reference in a new issue