File tree Expand file tree Collapse file tree 1 file changed +47
-0
lines changed Expand file tree Collapse file tree 1 file changed +47
-0
lines changed Original file line number Diff line number Diff line change 1+ name : Run tests
2+
3+ on :
4+ push :
5+ branches : [master]
6+ tags :
7+ - ' v[0-9]+.[0-9]+.[0-9]+*'
8+ pull_request :
9+ branches : [master]
10+
11+ env :
12+ # increment to clear caches
13+ ACTIONS_CACHE_VERSION : ' v1'
14+
15+ jobs :
16+ test :
17+ strategy :
18+ matrix :
19+ jdk : [21]
20+
21+ name : Test
22+
23+ runs-on : ubuntu-latest
24+
25+ steps :
26+ - uses : actions/checkout@v4
27+ - name : Setup Java ${{ matrix.jdk }}
28+ uses : actions/setup-java@v4
29+ with :
30+ distribution : temurin
31+ java-version : ${{ matrix.jdk }}
32+ - uses : actions/cache@v4
33+ with :
34+ path : |
35+ ~/.m2/repository
36+ ~/.gitlibs
37+ ~/.deps.clj
38+ key : clojuredeps-${{ env.ACTION_CACHE_VERSION }}-${{ hashFiles('deps.edn', 'bb.edn') }}
39+ restore-keys : |
40+ clojuredeps-${{ env.ACTION_CACHE_VERSION }}-
41+ - name : Setup Clojure and Babashka
42+ uses : DeLaGuardo/setup-clojure@master
43+ with :
44+ cli : latest
45+ bb : latest
46+ - name : Run tests
47+ run : bb test
You can’t perform that action at this time.
0 commit comments