File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1212 build :
1313 runs-on : ubuntu-latest
1414
15+ strategy :
16+ matrix :
17+ java-version : [11, 17, 21]
18+
1519 steps :
16- - uses : actions/checkout@v5
20+ - name : Checkout code
21+ uses : actions/checkout@v5
22+
23+ - name : Set up JDK ${{ matrix.java-version }}
24+ uses : actions/setup-java@v4
25+ with :
26+ java-version : ${{ matrix.java-version }}
27+ distribution : ' temurin'
28+
29+ - name : Install clojure tools
30+ uses : DeLaGuardo/setup-clojure@13.4
31+ with :
32+ lein : 2.11.2
33+
34+ - name : Cache dependencies
35+ uses : actions/cache@v4
36+ with :
37+ path : |
38+ ~/.m2/repository
39+ ~/.gitlibs
40+ ~/.deps.clj
41+ .cpcache
42+ key : cljdeps-${{ hashFiles('project.clj') }}
43+ # key: cljdeps-${{ hashFiles('build.boot') }}
44+ restore-keys : cljdeps-
45+
46+ - name : Install Leiningen
47+ run : |
48+ curl -O https://raw.githubusercontent.com/technomancy/leiningen/stable/bin/lein
49+ chmod +x lein
50+ sudo mv lein /usr/local/bin/
51+ lein version # This will download Leiningen if not cached
52+
1753 - name : Install dependencies
1854 run : lein deps
1955 - name : Run tests
You can’t perform that action at this time.
0 commit comments