File tree Expand file tree Collapse file tree 2 files changed +22
-15
lines changed Expand file tree Collapse file tree 2 files changed +22
-15
lines changed Original file line number Diff line number Diff line change 16
16
- name : Install clojure tools
17
17
uses :
DeLaGuardo/[email protected]
18
18
with :
19
+ cli : latest
19
20
lein : 2.9.10
20
21
bb : latest
21
22
clj-kondo : 2023.05.18
23
+ cljfmt : 0.10.4
24
+
25
+ - name : Execute tests
26
+ working-directory : ./cljfmt
27
+ run : lein test
28
+
29
+ - name : Execute babashka tests
30
+ run : bb test
31
+
32
+ - name : Check formatting
33
+ run : bb fmt
34
+
35
+ - name : Lint sourcecode
36
+ run : bb lint
37
+
38
+ - name : Install cljfmt dependency
39
+ working-directory : ./cljfmt
40
+ run : lein install
22
41
23
42
- name : Install GraalVM
24
43
uses : graalvm/setup-graalvm@v1
38
57
working-directory : ./cljfmt
39
58
run : lein native-image
40
59
41
- - name : Execute tests
42
- working-directory : ./cljfmt
43
- run : lein test
44
-
45
- - name : Execute babashka tests
46
- run : bb test
47
-
48
- - name : Check formatting
49
- run : cljfmt/target/cljfmt check
50
-
51
- - name : Lint sourcecode
52
- run : bb lint
53
-
54
60
- name : Run smoke tests
55
61
run : bb smoke
56
62
Original file line number Diff line number Diff line change 7
7
" lein cljfmt check" )))))
8
8
9
9
(deftest check-clj-tool
10
- (is (zero? (:exit (p/shell
11
- " clj -M -m cljfmt.main check cljfmt/src cljfmt/test" )))))
10
+ (is (zero? (:exit
11
+ (p/shell
12
+ " clojure -M -m cljfmt.main check cljfmt/src cljfmt/test" )))))
12
13
13
14
(deftest check-standalone
14
15
(is (zero? (:exit (p/shell
You can’t perform that action at this time.
0 commit comments