1717 runs-on : ubuntu-latest
1818 steps :
1919 - uses : actions/checkout@v3
20- - uses : actions/setup-go@v2
20+ - uses : actions/setup-go@v3
2121 with :
2222 go-version : ' 1.13.15'
2323 - run : make install lint
@@ -26,44 +26,31 @@ jobs:
2626 runs-on : ubuntu-latest
2727 steps :
2828 - uses : actions/checkout@v3
29- - uses : actions/setup-go@v2
29+ - uses : actions/setup-go@v3
3030 with :
31- go-version : ' 1.18'
32- check-latest : true
31+ go-version : ' >=1.19'
3332 - run : make cover
3433
3534 unit_test_legacy :
3635 runs-on : ubuntu-latest
37- env :
38- BUILD_DIR : ${{ github.workspace }}
39- GOPATH : ${{ github.workspace }}
4036 steps :
4137 - uses : actions/checkout@v3
42- - uses : actions/setup-go@v2
38+ - uses : actions/setup-go@v3
4339 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
5743
5844 unit_test_coverage :
5945 runs-on : ubuntu-latest
6046 env :
6147 COVERALLS_TOKEN : ${{ secrets.GITHUB_TOKEN }}
6248 steps :
6349 - uses : actions/checkout@v3
64- - uses : actions/setup-go@v2
50+ - uses : actions/setup-go@v3
6551 with :
66- go-version : ' 1.14.15'
52+ go-version : ' 1.17'
53+ check-latest : true
6754 - run : |
6855 make cover
6956 go get github.com/mattn/goveralls
7360 runs-on : ubuntu-latest
7461 steps :
7562 - uses : actions/checkout@v3
76- - uses : actions/setup-go@v2
63+ - uses : actions/setup-go@v3
7764 with :
78- go-version : ' 1.18'
79- check-latest : true
65+ go-version : ' >=1.19'
8066 - run : make benchmark
8167
8268 integration_tests :
0 commit comments