File tree Expand file tree Collapse file tree 1 file changed +51
-0
lines changed Expand file tree Collapse file tree 1 file changed +51
-0
lines changed Original file line number Diff line number Diff line change 1+ name : bb
2+
3+ on : [push, pull_request]
4+
5+ jobs :
6+
7+ clojure :
8+
9+ strategy :
10+ matrix :
11+ os : [ubuntu-latest, macOS-latest, windows-latest]
12+
13+ runs-on : ${{ matrix.os }}
14+
15+ steps :
16+ - name : Checkout
17+ uses : actions/checkout@v3
18+
19+ # It is important to install java before installing clojure tools which needs java
20+ # exclusions: babashka, clj-kondo and cljstyle
21+ - name : Prepare java
22+ uses : actions/setup-java@v3
23+ with :
24+ distribution : ' zulu'
25+ java-version : ' 11'
26+
27+ - name : Install clojure tools
28+ uses :
DeLaGuardo/[email protected] 29+ with :
30+ # Install just one or all simultaneously
31+ # The value must indicate a particular version of the tool, or use 'latest'
32+ # to always provision the latest version
33+ bb : latest
34+
35+ # Optional step:
36+ - name : Cache clojure dependencies
37+ uses : actions/cache@v3
38+ with :
39+ path : |
40+ ~/.m2/repository
41+ ~/.gitlibs
42+ ~/.deps.clj
43+ # List all files containing dependencies:
44+ key : cljdeps-${{ hashFiles('deps.edn') }}
45+ # key: cljdeps-${{ hashFiles('deps.edn', 'bb.edn') }}
46+ # key: cljdeps-${{ hashFiles('project.clj') }}
47+ # key: cljdeps-${{ hashFiles('build.boot') }}
48+ restore-keys : cljdeps-
49+
50+ - name : Execute bb tests
51+ run : bb test:bb
You can’t perform that action at this time.
0 commit comments