Skip to content
gift

GitHub Action

clj-kondo checks

v1 Latest version

clj-kondo checks

gift

clj-kondo checks

Lint your clojure code with clj-kondo in parallel to your builds

Installation

Copy and paste the following snippet into your .yml file.

              

- name: clj-kondo checks

uses: DeLaGuardo/clojure-lint-action@v1

Learn more about this action in DeLaGuardo/clojure-lint-action

Choose a version

Clojure Lint Action (using clj-kondo)

Run clj-kondo and annotate source code changes with results.

Usage

    steps:
    - uses: actions/checkout@v1
    - uses: DeLaGuardo/clojure-lint-action@master
      with:
        clj-kondo-args: --lint src
        # check-name is optional
        check-name: This is a report name
        # secrets.GITHUB_TOKEN is needed here
        # to publish annotations back to github
        # this action is not storing or sending it anywhere
        github_token: ${{ secrets.GITHUB_TOKEN }}

Annotation example

Check Run example

License

The scripts and documentation in this project are released under the MIT License