|
@@ -55,6 +55,11 @@ jobs:
|
|
|
with:
|
|
with:
|
|
|
cli: ${{ env.CLOJURE_VERSION }}
|
|
cli: ${{ env.CLOJURE_VERSION }}
|
|
|
|
|
|
|
|
|
|
+ - uses: actions/checkout@v2
|
|
|
|
|
+ - uses: DeLaGuardo/setup-clj-kondo@master
|
|
|
|
|
+ with:
|
|
|
|
|
+ version: '2021.12.19'
|
|
|
|
|
+
|
|
|
- name: Fetch Clojure deps
|
|
- name: Fetch Clojure deps
|
|
|
if: steps.clojure-deps.outputs.cache-hit != 'true'
|
|
if: steps.clojure-deps.outputs.cache-hit != 'true'
|
|
|
run: clojure -A:cljs -P
|
|
run: clojure -A:cljs -P
|
|
@@ -73,6 +78,9 @@ jobs:
|
|
|
- name: Fetch yarn deps
|
|
- name: Fetch yarn deps
|
|
|
run: yarn cache clean && yarn install
|
|
run: yarn cache clean && yarn install
|
|
|
|
|
|
|
|
|
|
+ - name: Run clj-kondo lint
|
|
|
|
|
+ run: clj-kondo --lint src/workspaces src/electron src/test src/dev-cljs src/main/{electron,grammar} src/main/frontend/{worker,util,ui,tools,search,publishing,modules,mobile,external,context}
|
|
|
|
|
+
|
|
|
- name: Run ClojureScript test
|
|
- name: Run ClojureScript test
|
|
|
run: |
|
|
run: |
|
|
|
yarn cljs:test
|
|
yarn cljs:test
|