Run some linters such as clj-kondo , kibit , eastwood and show results as warning.
steps:
- uses: actions/checkout@v2
- uses: xcoo/clj-lint-action@v1.1.8
with:
linters: "\"all\""
github_token: ${{ secrets.GITHUB_TOKEN }}
runner: ":leiningen"
base_sha: ${{ github.event.pull_request.base.sha||github.event.before }}
eastwood_linters: "[:all]"
if you want to select linters,set variable 'linters' like this.
linters: "[\"clj-kondo\" \"kibit\" \"eastwood\" \"cljfmt\"]"