@@ -21,61 +21,60 @@ jobs:
2121 name : Linter
2222 runs-on : ubuntu-latest
2323 steps :
24- - uses : actions/checkout@v3
25- - uses : actions/setup-go@v4
24+ - uses : actions/checkout@v4
25+ - uses : actions/setup-go@v5
2626 with :
2727 go-version : ' 1.21'
28- cache : false
2928 - name : golangci-lint
30- uses : golangci/golangci-lint-action@v3
29+ uses : golangci/golangci-lint-action@v4
3130 with :
32- version : v1.51
31+ version : v1.57.2
3332
34- build :
35- name : build
36- runs-on : ubuntu-latest
37- strategy :
38- matrix :
39- go : [1.21]
40- store-type :
41- -
42- - memory
43- - file
44- - mongo
45- fix-version :
46- -
47- - fix40
48- - fix41
49- - fix42
50- - fix43
51- - fix44
52- - fix50
53- - fix50sp1
54- - fix50sp2
55- steps :
56- - name : Setup
57- uses : actions/setup-go@v2
58- with :
59- go-version : ${{ matrix.go }}
60- - name : Check out source
61- uses : actions/checkout@v2
62- - name : Start MongoDB
63- uses :
supercharge/[email protected] 64- with :
65- mongodb-replica-set : replicaset
66- - name : Install ruby
67- uses : ruby/setup-ruby@v1
68- with :
69- ruby-version : ' 3.0'
70- - name : Unit test
71- env :
72- FIX_TEST : ${{ matrix.fix-version }}
73- STORE_TYPE : ${{ matrix.store-type }}
74- run : if [ -z $FIX_TEST ] && [ -z $STORE_TYPE ]; then make build-src && make test-ci; fi
75- - name : Acceptance test
76- env :
77- GO111MODULE : on
78- MONGODB_TEST_CXN : mongodb://localhost:27017
79- FIX_TEST : ${{ matrix.fix-version }}
80- STORE_TYPE : ${{ matrix.store-type }}
81- run : if [ $FIX_TEST ] && [ $STORE_TYPE ]; then make generate-ci && make build && make $FIX_TEST; fi
33+ # build:
34+ # name: build
35+ # runs-on: ubuntu-latest
36+ # strategy:
37+ # matrix:
38+ # go: [1.21]
39+ # store-type:
40+ # -
41+ # - memory
42+ # - file
43+ # - mongo
44+ # fix-version:
45+ # -
46+ # - fix40
47+ # - fix41
48+ # - fix42
49+ # - fix43
50+ # - fix44
51+ # - fix50
52+ # - fix50sp1
53+ # - fix50sp2
54+ # steps:
55+ # - name: Setup
56+ # uses: actions/setup-go@v2
57+ # with:
58+ # go-version: ${{ matrix.go }}
59+ # - name: Check out source
60+ # uses: actions/checkout@v2
61+ # - name: Start MongoDB
62+ # uses: supercharge/[email protected] 63+ # with:
64+ # mongodb-replica-set: replicaset
65+ # - name: Install ruby
66+ # uses: ruby/setup-ruby@v1
67+ # with:
68+ # ruby-version: '3.0'
69+ # - name: Unit test
70+ # env:
71+ # FIX_TEST: ${{ matrix.fix-version }}
72+ # STORE_TYPE: ${{ matrix.store-type }}
73+ # run: if [ -z $FIX_TEST ] && [ -z $STORE_TYPE ]; then make build-src && make test-ci; fi
74+ # - name: Acceptance test
75+ # env:
76+ # GO111MODULE: on
77+ # MONGODB_TEST_CXN: mongodb://localhost:27017
78+ # FIX_TEST: ${{ matrix.fix-version }}
79+ # STORE_TYPE: ${{ matrix.store-type }}
80+ # run: if [ $FIX_TEST ] && [ $STORE_TYPE ]; then make generate-ci && make build && make $FIX_TEST; fi
0 commit comments