https://issues.redhat.com/browse/ACM-14456 #8963
Workflow file for this run
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: Linting | |
on: | |
pull_request: | |
jobs: | |
asciidoc: | |
name: Build AsciiDocs | |
runs-on: ubuntu-latest | |
steps: | |
- name: Check out the repository | |
uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 | |
- 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: Link Check | |
uses: lycheeverse/lychee-action@2b973e86fc7b1f6b36a93795fe2c9c6ae1118621 | |
with: | |
args: --no-progress --timeout 30 --scheme http --scheme https --require-https "./**/main.html" | |
fail: true |