add 8.15.1 known issue #778
This file contains hidden or 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: Pull Request Tests | |
| on: | |
| pull_request: {} | |
| workflow_call: {} | |
| permissions: | |
| contents: read | |
| jobs: | |
| rake_checks: | |
| name: Rake Checks | |
| runs-on: ubuntu-24.04 | |
| steps: | |
| # needs fetch-depth because the packaging dem reads old git tags | |
| - name: Checkout current PR | |
| uses: actions/checkout@v7 | |
| with: | |
| fetch-depth: 0 | |
| - name: Install Ruby version 3.3 | |
| uses: ruby/setup-ruby@v1 | |
| with: | |
| ruby-version: 3.3 | |
| bundler-cache: true | |
| - name: Display Ruby environment | |
| run: bundle env | |
| - name: Run rake rubocop | |
| run: bundle exec rake rubocop | |
| - name: Validate code | |
| run: bundle exec jekyll build | |
| internal_links: | |
| name: Internal links | |
| runs-on: ubuntu-24.04 | |
| steps: | |
| # needs fetch-depth because the packaging gem reads old git tags | |
| - name: Checkout current PR | |
| uses: actions/checkout@v7 | |
| with: | |
| fetch-depth: 0 | |
| - name: Install Ruby version 3.3 | |
| uses: ruby/setup-ruby@v1 | |
| with: | |
| ruby-version: 3.3 | |
| bundler-cache: true | |
| # pandoc renders the openvox man-page references; mandoc renders the | |
| # openfact CLI references (see lib/puppet_references/). | |
| - name: Install pandoc and mandoc | |
| run: sudo apt-get install -y pandoc mandoc | |
| # The link check covers every collection, and the shared site-wide sidebar | |
| # links into the generated reference pages, so the whole site (including | |
| # those generated pages) must exist. Generate every collection's references | |
| # into docs/ first, the same way the publish workflow does. | |
| - name: Generate reference docs | |
| run: | | |
| bundle exec rake references:all INSTALLPATH=docs | |
| - name: Build site | |
| run: bundle exec jekyll build | |
| - name: Check internal links | |
| run: bundle exec rake test:links | |
| tests: | |
| if: always() | |
| needs: | |
| - rake_checks | |
| - internal_links | |
| runs-on: ubuntu-24.04 | |
| name: Test suite | |
| steps: | |
| - name: Decide whether the needed jobs succeeded or failed | |
| uses: re-actors/alls-green@release/v1 | |
| with: | |
| jobs: ${{ toJSON(needs) }} |