Skip to content

Commit

Permalink
Add lint job to CI
Browse files Browse the repository at this point in the history
  • Loading branch information
Gilles Philippart committed Jun 1, 2022
1 parent 35a8c2f commit 3cf92c7
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down Expand Up @@ -160,6 +168,9 @@ workflows:
build_and_test:
jobs:
- checkout_code
- lint:
requires:
- checkout_code
- deps:
requires:
- checkout_code
Expand Down

0 comments on commit 3cf92c7

Please sign in to comment.