https://issues.redhat.com/browse/ACM-26089 Add CAPI auto import and ROSA HCP doc #12615
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: Linting | |
| on: | |
| pull_request: | |
| jobs: | |
| asciidoc: | |
| name: Build AsciiDocs | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Check out the repository | |
| uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 | |
| - name: Install asciidoctor | |
| run: | | |
| sudo apt-get install -y asciidoctor | |
| - name: Build each .adoc with Asciidoctor, fail on WARN or above | |
| run: | | |
| find . -name \*.adoc -exec asciidoctor --failure-level WARN --trace --verbose --warnings {} + | |
| - name: Restore lychee cache | |
| uses: actions/cache@v4 | |
| with: | |
| path: .lycheecache | |
| key: cache-lychee-${{ github.sha }} | |
| restore-keys: cache-lychee- | |
| - name: Link Check | |
| uses: lycheeverse/lychee-action@a8c4c7cb88f0c7386610c35eb25108e448569cb0 | |
| env: | |
| GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
| with: | |
| args: >- | |
| --cache | |
| --verbose | |
| --max-cache-age 3d | |
| --no-progress | |
| --max-concurrency 30 | |
| --timeout 30 | |
| --retry-wait-time 30 | |
| --scheme http | |
| --scheme https | |
| --require-https | |
| --accept 200..=299,403,429 | |
| --exclude https://github.com/stolostron/backlog/.* | |
| ./**/main.html | |
| fail: true |