Tweak lint docs

This commit is contained in:
Gabriel Horner
2022-01-13 16:35:18 -05:00
committed by Tienson Qin
parent 3ec587d6eb
commit 8b0026f34b
2 changed files with 8 additions and 9 deletions

View File

@@ -12,11 +12,10 @@ on:
env:
CLOJURE_VERSION: '1.10.1.727'
CLJ_KONDO_VERSION: '2021.12.19'
# setup-java@v2 dropped support for legacy Java version syntax.
# This is the same as 1.8.
JAVA_VERSION: '8'
# This is the latest node version of we can run.
# This is the latest node version we can run.
NODE_VERSION: '16'
jobs:
@@ -65,13 +64,8 @@ jobs:
if: steps.clojure-deps.outputs.cache-hit != 'true'
run: clojure -A:cljs -P
- name: Set up clj-kondo
uses: DeLaGuardo/setup-clj-kondo@master
with:
version: ${{ env.CLJ_KONDO_VERSION }}
- name: Run clj-kondo lint
run: clj-kondo --lint src
run: clj -M:clj-kondo --lint src
- name: Fetch yarn deps
run: yarn install