File tree 1 file changed +9
-12
lines changed
1 file changed +9
-12
lines changed Original file line number Diff line number Diff line change @@ -37,22 +37,19 @@ jobs:
37
37
pull-run-images :
38
38
runs-on : ubuntu-latest
39
39
steps :
40
+ - uses : actions/checkout@v4
41
+ - uses : actions/setup-go@v5
42
+ with :
43
+ go-version : stable
40
44
- name : pull http server
41
45
run : docker pull rawanmostafa/httpserver:latest
42
46
- name : pull gin server
43
47
run : docker pull rawanmostafa/ginserver:latest
44
48
- name : run http server
45
- run : docker run -d --name httpserver - p 8080:8080 rawanmostafa/httpserver:latest
49
+ run : docker run -d -p 8080:8080 rawanmostafa/httpserver:latest
46
50
- name : run gin server
47
- run : docker run -d --name ginserver -p 8083:8083 rawanmostafa/ginserver:latest
48
-
49
- test :
50
- runs-on : ubuntu-latest
51
- needs : pull-run-images
52
- steps :
53
- - uses : actions/checkout@v4
54
- - uses : actions/setup-go@v5
55
- with :
56
- go-version : stable
57
- - name : Test with the Go CLI
51
+ run : docker run -d -p 8083:8083 rawanmostafa/ginserver:latest
52
+ - name : test
58
53
run : go test -v ./pkg
54
+
55
+
You can’t perform that action at this time.
0 commit comments