Validate CircleCI config yaml located in .circleci/config.yml. In order for this to run you will need to install
the circleci CLI tool locally with:
brew install circleciThe script will not run the validation if the environment variable CI is set, which means you can safely run this
on CircleCI and it will be a no-op.
Generate a Docs Index using adr-log. It will modify files with comments in it per the docs on that module.
By default it will only look in the docs/ directory of your repo. You can pass in different directories by using
the args parameter like this: args: ["docs/adr", "docs/rfc"]
Validate goreleaser config yaml located at .goreleaser.yml. In order for this to run you will need to install
the goreleaser CLI tool locally with:
brew install goreleaserGenerate a Table of Contents using markdown-toc. It will modify files with comments in it per the docs on that module.
Run spellcheck on markdown files using markdown-spellcheck. It
will ignore words listed in a .spelling file in your repo.
Run sort on the .spelling file used by the markdown-spellcheck tool. This keeps the file tidy as it is used.
Run the hadolint Dockerfile linter