Merge pull request #197 from pundit-community/fix-changelog-header-level #157
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: YARD | |
on: | |
push: | |
branches: ['*'] | |
pull_request: | |
branches: ['*'] | |
permissions: | |
contents: read | |
jobs: | |
rubocop: | |
name: YARD | |
runs-on: ${{ matrix.os }} | |
env: | |
BUNDLE_JOBS: 4 | |
BUNDLE_RETRY: 3 | |
strategy: | |
matrix: | |
os: [ubuntu-latest] | |
ruby-version: ['3.3'] | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Set up Ruby | |
uses: ruby/setup-ruby@v1 | |
with: | |
ruby-version: ${{ matrix.ruby-version }} | |
bundler-cache: true | |
- name: Lint YARD documentation | |
run: bundle exec yard doc --fail-on-warning --no-output --no-progress |