An open API service indexing awesome lists of open source software.

https://github.com/andreaso/setup-secondary-linters


https://github.com/andreaso/setup-secondary-linters

Last synced: about 2 months ago
JSON representation

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
```