Fix WS001 false positive with bold syntax (Issue #41) #36
Workflow file for this run
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: AsciiDoc Linter Action | |
| on: | |
| push: | |
| branches: | |
| - main | |
| pull_request: | |
| branches: | |
| - main | |
| jobs: | |
| lint: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout code | |
| uses: actions/checkout@v4 | |
| - name: Build Docker image | |
| run: docker build -t asciidoc-linter . | |
| - name: Run AsciiDoc Linter | |
| run: | | |
| # Lint only root-level .adoc files for now (docs/ needs cleanup) | |
| for file in *.adoc; do | |
| if [ -f "$file" ]; then | |
| docker run --rm -v ${{ github.workspace }}:/docs asciidoc-linter "$file" | |
| fi | |
| done |