Skip to content

ROCKTAKEY/flymake-actionlint

Repository files navigation

https://img.shields.io/github/tag/ROCKTAKEY/flymake-actionlint.svg?style=flat-square https://img.shields.io/github/license/ROCKTAKEY/flymake-actionlint.svg?style=flat-square https://img.shields.io/codecov/c/github/ROCKTAKEY/flymake-actionlint.svg?style=flat-square https://img.shields.io/github/actions/workflow/status/ROCKTAKEY/flymake-actionlint/test.yml.svg?branch=master&style=flat-square

flymake-actionlint: A Flymake handler for actionlint

Provide Flymake handler for actionlint. Please install actionlint before using this package.

How to Use?

(add-hook 'yaml-mode-hook #'flymake-actionlint-action-load-when-actions-file)
(add-hook 'yaml-ts-mode-hook #'flymake-actionlint-action-load-when-actions-file)

flymake-actionlint-action-load-when-actions-file automatically turns flymake-actionlint on only when the current file is a yaml file in .github/workflows/.

Run M-x flymake-actionlint-load if you want to turn flymake-actionlint on manually in current buffer.

License

This package is licensed by The GNU General Public License verson 3 or later. See LICENSE.