https://issues.redhat.com/browse/ACM-14538 #8988
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@11bd71901bbe5b1630ceea73d27597364c9af683 | |
- 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@7cd0af4c74a61395d455af97419279d86aafaede | |
with: | |
args: --no-progress --timeout 30 --scheme http --scheme https --require-https "./**/main.html" | |
fail: true |