File tree Expand file tree Collapse file tree 1 file changed +39
-0
lines changed
Expand file tree Collapse file tree 1 file changed +39
-0
lines changed Original file line number Diff line number Diff line change 1+ name : lein_test
2+
3+ on :
4+ workflow_dispatch :
5+ push :
6+ branches :
7+ - main
8+ paths : ' *' # ['src/**','test/**']
9+ pull_request :
10+ types : [opened, reopened, edited, synchronize]
11+ paths : ' *' # ['src/**','test/**']
12+
13+ jobs :
14+ run-lein-tests :
15+ name : lein test - Java ${{ matrix.java }}
16+ runs-on : ubuntu-latest
17+ strategy :
18+ matrix :
19+ java : [ '8', '11', '17' ]
20+ steps :
21+ - name : Check out repository code
22+ uses : actions/checkout@v3
23+ - name : Setup java
24+ uses : actions/setup-java@v3
25+ with :
26+ distribution : temurin
27+ java-version : ${{ matrix.java }}
28+ - name : Install Clojure tools
29+ uses : DeLaGuardo/setup-clojure@10.2
30+ with :
31+ cli : latest # Clojure CLI based on tools.deps
32+ lein : latest # Leiningen
33+ boot : latest # Boot.clj
34+ bb : latest # Babashka
35+ clj-kondo : latest # Clj-kondo
36+ cljstyle : latest # cljstyle
37+ zprint : latest # zprint
38+ - name : Run lein tests
39+ run : lein test
You can’t perform that action at this time.
0 commit comments