diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index 631848e3bbb470..528390fd94dc76 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -37,17 +37,19 @@ jobs: - name: Install Bundler RubyGems run: brew install-bundler-gems --groups=sorbet - - name: Install shellcheck - run: brew install shellcheck + - name: Install linting formulae + run: brew install shellcheck shfmt vale - run: brew style --display-cop-names - run: brew typecheck - name: Run vale for docs linting - run: | - brew install vale - vale docs/ + run: vale docs/ + + - name: Run yard for rubydoc output + working-directory: Library/Homebrew + run: bundle exec yard doc --plugin sorbet --no-output #--fail-on-warning tap-syntax: name: tap syntax @@ -282,6 +284,7 @@ jobs: test-default-formula-linux: name: ${{ matrix.name }} + if: startsWith(github.repository, 'Homebrew/') runs-on: ${{ matrix.runs-on }} env: HOMEBREW_BOOTSNAP: 1