File tree Expand file tree Collapse file tree 1 file changed +41
-0
lines changed Expand file tree Collapse file tree 1 file changed +41
-0
lines changed Original file line number Diff line number Diff line change 1+ ---
2+
3+ on : push
4+ name : Push / PR Builder
5+ jobs :
6+ lint :
7+ runs-on : ubuntu-latest
8+ steps :
9+ - name : Setup clj-kondo
10+ uses : DeLaGuardo/setup-clj-kondo@afc83dbbf4e7e32e04649e29dbf30668d30e9e3e
11+ with :
12+ version : ' 2020.12.12'
13+
14+ - uses : actions/checkout@v2
15+
16+ - name : Lint
17+ working-directory : ./clj
18+ run : clj-kondo --lint src --config '{:output {:pattern "::{{level}} file={{filename}},line={{row}},col={{col}}::{{message}}"}}'
19+
20+ test :
21+ runs-on : ubuntu-latest
22+ steps :
23+ - uses : actions/checkout@v2
24+ - uses : DeLaGuardo/setup-clojure@master
25+ with :
26+ lein : 2.9.4
27+
28+ - name : Cache m2
29+ uses : actions/cache@v2
30+ env :
31+ cache-name : cache-m2
32+ with :
33+ path : ~/.m2
34+ key : ${{ runner.os }}-build-${{ env.cache-name }}-${{ hashFiles('**/project.clj') }}
35+ restore-keys : |
36+ ${{ runner.os }}-build-${{ env.cache-name }}-
37+ ${{ runner.os }}-build-
38+ ${{ runner.os }}-
39+
40+ - run : lein test
41+ working-directory : ./clj
You can’t perform that action at this time.
0 commit comments