Skip to content

Commit

Permalink
workflows/docs: Check for broken links, use existing rake test task
Browse files Browse the repository at this point in the history
- We had `rake test` as a task, but we never actually ran it in CI or
  anywhere before building the site.
- This will make things slower (or maybe it's taking ages because of my
  dodgy hotel internet connection), maybe we should only run it on a
  schedule as a separate job?
- Fixes https://github.com/Homebrew/brew/issues/ 15908.
  • Loading branch information
issyl0 committed Aug 31, 2023
1 parent 59cc141 commit 51a1ca2
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions .github/workflows/docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,10 @@ jobs:
working-directory: ${{ steps.set-up-homebrew.outputs.repository-path }}/docs
run: bundle exec rake lint

- name: Check for broken links in docs
working-directory: ${{ steps.set-up-homebrew.outputs.repository-path }}/docs
run: bundle exec rake test

- name: Build docs site
working-directory: ${{ steps.set-up-homebrew.outputs.repository-path }}/docs
run: bundle exec rake build
Expand Down

0 comments on commit 51a1ca2

Please sign in to comment.