mirror of
https://github.com/Homebrew/brew.git
synced 2025-07-14 16:09:03 +08:00
Merge pull request #20184 from Homebrew/fix_docs_ci
docs: fix HTML Proofer in CI
This commit is contained in:
commit
fbab2caec3
6
.github/workflows/docs.yml
vendored
6
.github/workflows/docs.yml
vendored
@ -69,6 +69,12 @@ jobs:
|
|||||||
working-directory: docs
|
working-directory: docs
|
||||||
run: ../script/generate-api-samples.rb --template
|
run: ../script/generate-api-samples.rb --template
|
||||||
|
|
||||||
|
- name: Cache HTML Proofer
|
||||||
|
uses: actions/cache@5a3ec84eff668545956fd18022155c47e93e2684 # v4.2.3
|
||||||
|
with:
|
||||||
|
path: tmp/.htmlproofer
|
||||||
|
key: ${{ runner.os }}-htmlproofer
|
||||||
|
|
||||||
- name: Build the site and check for broken links
|
- name: Build the site and check for broken links
|
||||||
working-directory: docs
|
working-directory: docs
|
||||||
run: bundle exec rake test
|
run: bundle exec rake test
|
||||||
|
@ -38,10 +38,12 @@ task test: :build do
|
|||||||
%r{https://github.com/},
|
%r{https://github.com/},
|
||||||
%r{https://homebrew.1password.com/},
|
%r{https://homebrew.1password.com/},
|
||||||
"https://legacy.python.org/dev/peps/pep-0453/#recommendations-for-downstream-distributors",
|
"https://legacy.python.org/dev/peps/pep-0453/#recommendations-for-downstream-distributors",
|
||||||
|
"https://metacpan.org/pod/local::lib",
|
||||||
],
|
],
|
||||||
cache: {
|
cache: {
|
||||||
timeframe: {
|
timeframe: {
|
||||||
external: "1h",
|
external: "1d",
|
||||||
|
internal: "1h",
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
).run
|
).run
|
||||||
|
Loading…
x
Reference in New Issue
Block a user