https://github.com/andreaso/setup-secondary-linters
https://github.com/andreaso/setup-secondary-linters
Last synced: about 2 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/andreaso/setup-secondary-linters
- Owner: andreaso
- Created: 2025-01-17T03:38:11.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2025-02-09T03:46:30.000Z (over 1 year ago)
- Last Synced: 2025-10-10T22:44:48.067Z (8 months ago)
- Size: 3.91 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# setup-secondary-linters
Installs a set of secondary linters.
* [actionlint](https://github.com/rhysd/actionlint)
* [hadolint](https://github.com/hadolint/hadolint)
* [markdownlint](https://github.com/igorshubovych/markdownlint-cli)
* [zizmor](https://github.com/woodruffw/zizmor)
## Usage
```yaml
steps:
# ...
- name: Setup Secondary Linters
uses: andreaso/setup-secondary-linters@main
- name: Lint all GitHub Actions workflows
run: actionlint
- name: Analyze all GitHub Actions workflows
run: zizmor .
env:
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- name: Lint repository README
run: markdownlint README.md
- name: Lint some Dockerfile
run: hadolint path/to/Dockerfile
```