k-kom / clj-lint-action

Github action for Linters of Clojure.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Clj-lint-action

Run some linters such as clj-kondo , kibit , eastwood and show results as warning.

Usage

    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]"

about 'linters'

if you want to select linters,set variable 'linters' like this.

        linters: "[\"clj-kondo\" \"kibit\" \"eastwood\" \"cljfmt\"]"

About

Github action for Linters of Clojure.

License:MIT License


Languages

Language:Clojure 86.8%Language:Shell 9.4%Language:Dockerfile 3.8%