Skip to content

Commit e7a2afb

Browse files
committed
ci: add a clj-kondo gate and cover the declared Clojure versions
Nothing enforced static analysis, though sources enable *warn-on-reflection* and CONTRIBUTING asks for a clean check. Lint runs at --fail-level error. Where deps.edn declared a :1.10 alias the matrix never ran, the version is now exercised; advertised support is otherwise untestable.
1 parent 69332ca commit e7a2afb

1 file changed

Lines changed: 10 additions & 1 deletion

File tree

.github/workflows/test.yml

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,13 +9,22 @@ permissions:
99
contents: read
1010

1111
jobs:
12+
lint:
13+
runs-on: ubuntu-latest
14+
steps:
15+
- uses: actions/checkout@v4
16+
- uses: DeLaGuardo/setup-clojure@13.6.1
17+
with:
18+
clj-kondo: latest
19+
- run: clj-kondo --lint src test
20+
1221
test:
1322
runs-on: ubuntu-latest
1423
strategy:
1524
fail-fast: false
1625
matrix:
1726
jdk: ['17', '21']
18-
clojure: ['1.11', '1.12']
27+
clojure: ['1.10', '1.11', '1.12']
1928
name: jdk ${{ matrix.jdk }} / clojure ${{ matrix.clojure }}
2029
steps:
2130
- uses: actions/checkout@v4

0 commit comments

Comments
 (0)