CircleCI-Public / vale-orb

A CircleCI Orb wrapper for the Vale CLI - A syntax-aware linter for prose built with speed and extensibility in mind, by errata-ai/vale
https://circleci.com/developer/orbs/orb/circleci/vale
MIT License
0 stars 0 forks source link

How to specify a specific vale version with the executor #9

Open Barabazs opened 5 months ago

Barabazs commented 5 months ago

I'm having trouble specifying a specific version of vale in my CircleCI config. https://circleci.com/developer/orbs/orb/circleci/vale mentions that I should specify the executor params, but circleci config valdidate always complains of errors.

Assuming that my config looks like the one below, where should I specify version v3.0.3?

version: 2.1

orbs:
  vale: circleci/vale@1.1.1

workflows:
  publish-docs:
    jobs:
      - vale/lint:
          name: lint docs
          strategy: all
          glob: "[!.]*.{md,adoc}"
rosieyohannan commented 2 months ago

@Barabazs It looks like in order to pin a vale version you will need to write your own lint job using the install command, rather than using the lint job. I think this is a feature request really - Expose the version parameter as an option in the lint job.