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 0197942
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -100,6 +100,14 @@ jobs:
key: v1-jackdaw-repo-{{ .Branch }}-{{ .Revision }}
paths:
- .
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'

deps:
<<: *build_config
steps:
Expand All @@ -111,6 +119,8 @@ jobs:
key: *mvn_cache_key
paths:
- /home/circleci/.m2


test:
<<: *test_config
steps:
Expand Down Expand Up @@ -160,6 +170,9 @@ workflows:
build_and_test:
jobs:
- checkout_code
- lint:
requires:
- checkout_code
- deps:
requires:
- checkout_code
Expand Down

0 comments on commit 0197942

Please sign in to comment.