This is a reusable workflow to ensure quality in project support files and tool configuration files (dot files). For general help with reusable workflows, check out GitHub's Reusing workflows documentation.
To use this workflow, just set it in the uses
key of a job in your project's workflow file.
Here is an example workflow snippet that calls this workflow:
jobs:
dotFiles:
name: Dot File Quality
uses: brobeson/SupportFileQuality/.github/workflows/support_files.yaml@v1
The workflow runs the steps described in the following sections.
- Spell Check
The workflow runs CSpell on all files in the repository except your .git/ directory. Use a CSpell configuration in your repository to control the spell check behavior. You can add CSpell to your IDE to reduce the probability of this step finding errors. If you use VS Code, you can use the Code Spell Checker extension. - Markdown Lint
The workflow also runs Markdownlint on all Markdown files in the repository.