File tree Expand file tree Collapse file tree 1 file changed +41
-0
lines changed
Expand file tree Collapse file tree 1 file changed +41
-0
lines changed Original file line number Diff line number Diff line change 1+ name : " Check docs"
2+ on :
3+ push :
4+ branches : [ main ]
5+ pull_request :
6+ branches : [ main ]
7+ workflow_dispatch :
8+ schedule :
9+ # Run every night at 3:15am PST (11:15am UTC)
10+ - cron : ' 15 11 * * *'
11+
12+ env :
13+ RUST_BACKTRACE : 1
14+ CARGO_TERM_COLOR : always
15+ CLICOLOR : 1
16+ CLICOLOR_FORCE : 1
17+
18+ permissions :
19+ contents : read
20+
21+ # Cancel in-progress runs of this workflow if a new run is triggered.
22+ concurrency :
23+ group : ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}
24+ cancel-in-progress : true
25+
26+ jobs :
27+ # Check links in docs
28+ check-links :
29+ name : " Check links"
30+ runs-on : ubuntu-24.04
31+ steps :
32+ - name : Checkout sources
33+ uses : actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
34+ with :
35+ persist-credentials : false
36+
37+ - name : Check repo-local links
38+ uses : lycheeverse/lychee-action@8646ba30535128ac92d33dfc9133794bfdd9b411 # v2.8.0
39+ with :
40+ args : " . --offline --verbose --include-verbatim --include-fragments --no-progress"
41+ fail : true
You can’t perform that action at this time.
0 commit comments