From 3cf92c76abd564fd52dbd1e5df2008b3af321050 Mon Sep 17 00:00:00 2001 From: Gilles Philippart Date: Wed, 1 Jun 2022 11:04:24 +0100 Subject: [PATCH] Add lint job to CI --- .circleci/config.yml | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/.circleci/config.yml b/.circleci/config.yml index efdee78d..f46fafeb 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -111,6 +111,14 @@ jobs: key: *mvn_cache_key paths: - /home/circleci/.m2 +lint: + executor: machine + working_directory: /home/circleci/jackdaw + steps: + - checkout + - run: ls -la + - run: docker run --volume `pwd`:/project --rm --workdir /project cljkondo/clj-kondo sh -c 'clj-kondo --lint src test' + test: <<: *test_config steps: @@ -160,6 +168,9 @@ workflows: build_and_test: jobs: - checkout_code + - lint: + requires: + - checkout_code - deps: requires: - checkout_code