Skip to content

Passing options to hlint-run?ย #20

@philderbeast

Description

@philderbeast

With hlint-run, I'm able to pass in folders to this action doing the equivalent of:

hlint src/

Using the action how would we pass options like --cpp-define and --cpp-simple?

hlint src/ --cpp-define=WINDOWS=1
hlint test/ --cpp-simple

https://github.com/commercialhaskell/stack/blob/af098aa6a8246960229871228c5ed757e29916ad/.github/workflows/unit-tests.yml#L24-L26

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions