Skip to content

Commit

Permalink
add asciidoctor check
Browse files Browse the repository at this point in the history
  • Loading branch information
geoffcline authored Jan 19, 2025
1 parent b7860e4 commit 5789c01
Showing 1 changed file with 24 additions and 0 deletions.
24 changes: 24 additions & 0 deletions .github/workflows/asciidoctor.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
name: Asciidoctor Validation

on:
pull_request:
paths:
- '**.adoc'

jobs:
validate-asciidoc:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4

- name: Set up Ruby
uses: ruby/setup-ruby@v1
with:
ruby-version: '3.2'
bundler-cache: true

- name: Install Asciidoctor
run: gem install asciidoctor

- name: Validate Asciidoctor files
run: asciidoctor latest/ug/book.adoc -v -w -o /dev/null

0 comments on commit 5789c01

Please sign in to comment.