File tree Expand file tree Collapse file tree 2 files changed +21
-6
lines changed Expand file tree Collapse file tree 2 files changed +21
-6
lines changed Original file line number Diff line number Diff line change 6
6
build :
7
7
runs-on : ubuntu-23.04
8
8
9
+ services :
10
+ docker :
11
+ image : docker:dind
12
+ options : >-
13
+ --privileged
14
+ --health-cmd "docker info"
15
+ --health-interval 10s
16
+ --health-timeout 5s
17
+ --health-retries 5
18
+
9
19
steps :
10
20
- uses : actions/checkout@v3
11
21
16
26
distribution : ' openjdk'
17
27
cache : ' maven'
18
28
19
- - name : Build with Make
20
- run : make build
29
+ - name : Set up Docker
30
+ uses : docker/setup-buildx-action@v2
31
+
32
+ - name : Build
33
+ run : |
34
+ chmod +x mvnw
35
+ make build
21
36
22
- - name : Run tests
37
+ - name : Test
23
38
run : make test
Original file line number Diff line number Diff line change 1
- .PHONY : build test docker-build docker-push
1
+ .PHONY : build test
2
2
3
3
build :
4
- ./mvnw clean package -DskipTests
4
+ ./mvnw clean package -DskipTests
5
5
6
6
test :
7
- ./mvnw test
7
+ ./mvnw test
You can’t perform that action at this time.
0 commit comments