File tree 2 files changed +18
-25
lines changed
2 files changed +18
-25
lines changed Original file line number Diff line number Diff line change @@ -5,46 +5,38 @@ shared_configs:
5
5
name : Run tests
6
6
command : |
7
7
make deps test
8
-
8
+ full_job_steps : &full_job_steps
9
+ - checkout
10
+ - run :
11
+ name : Run tests
12
+ command : |
13
+ make ci
9
14
10
15
# Use the latest 2.1 version of CircleCI pipeline process engine. See: https://circleci.com/docs/2.0/configuration-reference
11
16
version : 2.1
12
17
jobs :
13
18
build-1-15 :
14
19
working_directory : ~/repo
15
20
docker :
16
- - image : circleci/golang :1.15
21
+ - image : cimg/go :1.15
17
22
steps : *simple_job_steps
18
23
19
24
build-1-16 :
20
25
working_directory : ~/repo
21
26
docker :
22
- - image : circleci/golang:1.16
23
- steps :
24
- - checkout
25
- - restore_cache :
26
- keys :
27
- - go-mod-v4-{{ checksum "go.sum" }}
28
- - run :
29
- name : Install Dependencies
30
- command : go mod download
31
- - save_cache :
32
- key : go-mod-v4-{{ checksum "go.sum" }}
33
- paths :
34
- - " /go/pkg/mod"
35
- - run :
36
- name : Run tests
37
- command : |
38
- #mkdir -p /tmp/test-reports
39
- #gotestsum --junitfile /tmp/test-reports/unit-tests.xml
40
- make ci
41
- # - store_test_results:
42
- # path: /tmp/test-reports
27
+ - image : cimg/go:1.16
28
+ steps : *full_job_steps
43
29
44
30
build-1-17 :
45
31
working_directory : ~/repo
46
32
docker :
47
- - image : circleci/golang:1.17
33
+ - image : cimg/go:1.17
34
+ steps : *simple_job_steps
35
+
36
+ build-1-18 :
37
+ working_directory : ~/repo
38
+ docker :
39
+ - image : cimg/go:1.18
48
40
steps : *simple_job_steps
49
41
50
42
workflows :
@@ -53,3 +45,4 @@ workflows:
53
45
- build-1-15
54
46
- build-1-16
55
47
- build-1-17
48
+ - build-1-18
Original file line number Diff line number Diff line change 1
- FROM golang:1.15 -alpine as builder
1
+ FROM golang:1.18 -alpine as builder
2
2
MAINTAINER FullStory Engineering
3
3
4
4
# create non-privileged group and user
You can’t perform that action at this time.
0 commit comments