17
17
runs-on : ubuntu-latest
18
18
steps :
19
19
- uses : actions/checkout@v3
20
- - uses : actions/setup-go@v2
20
+ - uses : actions/setup-go@v3
21
21
with :
22
22
go-version : ' 1.13.15'
23
23
- run : make install lint
@@ -26,44 +26,31 @@ jobs:
26
26
runs-on : ubuntu-latest
27
27
steps :
28
28
- uses : actions/checkout@v3
29
- - uses : actions/setup-go@v2
29
+ - uses : actions/setup-go@v3
30
30
with :
31
- go-version : ' 1.18'
32
- check-latest : true
31
+ go-version : ' >=1.19'
33
32
- run : make cover
34
33
35
34
unit_test_legacy :
36
35
runs-on : ubuntu-latest
37
- env :
38
- BUILD_DIR : ${{ github.workspace }}
39
- GOPATH : ${{ github.workspace }}
40
36
steps :
41
37
- uses : actions/checkout@v3
42
- - uses : actions/setup-go@v2
38
+ - uses : actions/setup-go@v3
43
39
with :
44
- go-version : ' 1.10.8'
45
- - run : |
46
- mkdir -p $GOPATH/src/github.com && pushd $GOPATH/src/github.com && ln -s $GOPATH optimizely/go-sdk && popd
47
- mkdir $GOPATH/src/github.com/twmb && cd $GOPATH/src/github.com/twmb && git clone https://github.com/twmb/murmur3.git && cd $BUILD_DIR
48
- pushd $GOPATH/src/github.com/twmb/murmur3 && git checkout v1.0.0 && popd
49
- mkdir $GOPATH/src/github.com/hashicorp && cd $GOPATH/src/github.com/hashicorp && git clone https://github.com/hashicorp/go-multierror.git && cd $BUILD_DIR
50
- pushd $GOPATH/src/github.com/hashicorp/go-multierror && git checkout v1.0.0 && popd
51
- mkdir $GOPATH/src/gopkg.in && cd $GOPATH/src/gopkg.in && git clone https://github.com/go-yaml/yaml.git && cd $BUILD_DIR
52
- mv $GOPATH/src/gopkg.in/yaml $GOPATH/src/gopkg.in/yaml.v2 && pushd $GOPATH/src/gopkg.in/yaml.v2 && git checkout v2.2.2 && popd
53
- go get -v -d ./...
54
- go get -d -v github.com/stretchr/testify
55
- pushd $GOPATH/src/github.com/stretchr/testify && git checkout v1.4.0 && popd
56
- make test
40
+ go-version : ' 1.13'
41
+ check-latest : true
42
+ - run : make cover
57
43
58
44
unit_test_coverage :
59
45
runs-on : ubuntu-latest
60
46
env :
61
47
COVERALLS_TOKEN : ${{ secrets.GITHUB_TOKEN }}
62
48
steps :
63
49
- uses : actions/checkout@v3
64
- - uses : actions/setup-go@v2
50
+ - uses : actions/setup-go@v3
65
51
with :
66
- go-version : ' 1.14.15'
52
+ go-version : ' 1.17'
53
+ check-latest : true
67
54
- run : |
68
55
make cover
69
56
go get github.com/mattn/goveralls
73
60
runs-on : ubuntu-latest
74
61
steps :
75
62
- uses : actions/checkout@v3
76
- - uses : actions/setup-go@v2
63
+ - uses : actions/setup-go@v3
77
64
with :
78
- go-version : ' 1.18'
79
- check-latest : true
65
+ go-version : ' >=1.19'
80
66
- run : make benchmark
81
67
82
68
integration_tests :
0 commit comments