Commit e61aafe 1 parent 871b1dd commit e61aafe Copy full SHA for e61aafe
File tree 1 file changed +16
-1
lines changed
1 file changed +16
-1
lines changed Original file line number Diff line number Diff line change 13
13
with :
14
14
product : opensearch
15
15
16
+ spotless :
17
+ if : github.repository == 'opensearch-project/anomaly-detection'
18
+ runs-on : ubuntu-latest
19
+ steps :
20
+ - uses : actions/checkout@v4
21
+ # Spotless requires JDK 17+
22
+ - uses : actions/setup-java@v4
23
+ with :
24
+ java-version : 17
25
+ distribution : temurin
26
+ - name : Spotless Check
27
+ run : ./gradlew spotlessCheck
28
+
16
29
Build-ad-windows :
30
+ needs : spotless
17
31
strategy :
18
32
matrix :
19
33
java : [ 11, 17 ]
46
60
flags : plugin
47
61
48
62
Build-ad-linux :
49
- needs : Get-CI-Image-Tag
63
+ needs : [ Get-CI-Image-Tag, spotless]
50
64
strategy :
51
65
matrix :
52
66
java : [11,17]
87
101
flags : plugin
88
102
89
103
Build-ad-macos :
104
+ needs : spotless
90
105
strategy :
91
106
matrix :
92
107
java : [11,17,20]
You can’t perform that action at this time.
0 commit comments