Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

asciidoctor not found #138

Closed
dunyakirkali opened this issue Oct 20, 2024 · 2 comments
Closed

asciidoctor not found #138

dunyakirkali opened this issue Oct 20, 2024 · 2 comments
Labels
question Further information is requested

Comments

@dunyakirkali
Copy link

I have the following vale config

StylesPath = .github/styles

MinAlertLevel = error

Packages = Google, proselint, write-good, Readability, AsciiDoc
Vocab = incremental_forgetting

[asciidoctor]
experimental = YES

[*]
BasedOnStyles = Vale, Google, proselint, write-good, Readability, AsciiDoc

Google.Quotes = NO

And this is the pipeline:

name: Continuous Integration

on:
  push:
    branches:
      - main
  pull_request:

jobs:
  lint:
    runs-on: ubuntu-latest
    steps:
      - name: Checkout
        uses: actions/checkout@v4
      - name: Vale
        uses: errata-ai/vale-action@reviewdog
        with:
          files: source/
          fail_on_error: true

And I get the following error:

Running vale...
  /home/runner/vale --output=/home/runner/work/_actions/errata-ai/vale-action/reviewdog/lib/rdjsonl.tmpl .
  E100 [lintAdoc] Runtime error
  
  asciidoctor not found
  
  Execution stopped with code 1.
Error: Vale and reviewdog exited with status code: 2

Any clues to what I might be doing wrong?

@jdkato
Copy link
Member

jdkato commented Oct 21, 2024

In the latest release of the action, you need to install format-specific dependencies on your own. See the updated README for an example.

If you'd like to use an older version of the action or opt-in to changes like this in the future, you can pin the action to a specific release.

@dunyakirkali
Copy link
Author

@jdkato I had missed this change.

Thnx for the info 👍🏼

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested
Projects
None yet
Development

No branches or pull requests

2 participants