File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -118,6 +118,25 @@ jobs:
118118 run : |
119119 cargo doc --no-deps --all-features
120120
121+ check-links :
122+ # check links contained in markdown, asciidoc and source code files
123+ runs-on : ubuntu-latest
124+ steps :
125+ - uses : actions/checkout@v4
126+ with :
127+ submodules : " recursive"
128+ - name : Restore lychee cache
129+ uses : actions/cache@v4
130+ with :
131+ path : .lycheecache
132+ key : cache-lychee-${{ github.sha }}
133+ restore-keys : cache-lychee-
134+
135+ - name : Run lychee
136+ uses : lycheeverse/lychee-action@v2
137+ with :
138+ args : " --cache --max-cache-age 1d --verbose --no-progress --exclude-path './target/' --exclude-path './up-spec/' -- './**/*.md' './**/*.rs' './**/*.adoc'"
139+
121140 feature-check :
122141 # Comprehensive check on dependencies for all feature flag combinations, excluding development dependencies
123142 needs : check
You can’t perform that action at this time.
0 commit comments