Skip to content

Commit 257858c

Browse files
committed
(maint) add clojure setup to github workflows
The latest ubuntu image no longer includes clojure/lein, this commit adds a step for that inclusion to the linting and PR testing workflows.
1 parent 0b98da7 commit 257858c

File tree

2 files changed

+8
-0
lines changed

2 files changed

+8
-0
lines changed

.github/workflows/clojure-linting.yaml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,10 @@ jobs:
1515
with:
1616
distribution: temurin
1717
java-version: 17
18+
- name: setup clojure
19+
uses: DeLaGuardo/[email protected]
20+
with:
21+
lein: 2.11.2 # Leiningen
1822
- name: checkout repo
1923
uses: actions/checkout@v2
2024
- name: install clj-kondo (this is quite fast)

.github/workflows/pr-testing.yaml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,10 @@ jobs:
2424
with:
2525
distribution: 'temurin'
2626
java-version: ${{ matrix.version }}
27+
- name: setup clojure
28+
uses: DeLaGuardo/[email protected]
29+
with:
30+
lein: 2.11.2 # Leiningen
2731
- name: clojure tests
2832
run: lein test
2933
timeout-minutes: 30

0 commit comments

Comments
 (0)