File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 3333 test :
3434 strategy :
3535 matrix :
36- go-version : [ 1.18 .x ]
36+ go-version : [ 1.23 .x ]
3737 # The type of runner that the job will run on
3838 runs-on : ubuntu-latest
3939
@@ -55,14 +55,17 @@ jobs:
5555 - name : Unit Tests
5656 run : |
5757 mkdir -p build
58- go test -gcflags=all=-l $(go list ./ ... | grep -v /test/ | grep -v /parser | grep -v /types) -coverprofile=coverage.txt -covermode=atomic
58+ go test -gcflags=all=-l ./pkg/ ... -coverprofile=coverage.txt -covermode=atomic
5959
6060 - name : Post Coverage
6161 run : bash <(curl -s https://codecov.io/bash)
6262
6363 - name : Shutdown Ubuntu MySQL (SUDOx)
6464 run : sudo service mysql stop
6565
66+ - name : Setup Docker compose
67+ uses : ndeloof/install-compose-action@v0.0.1
68+
6669 - name : Integration Tests
6770 shell : bash
6871 run : make integration-test
Original file line number Diff line number Diff line change 1- FROM golang:1.18 .3 as builder
1+ FROM golang:1.23 .3 as builder
22WORKDIR /app
33ADD . /app
44RUN make build-local
Original file line number Diff line number Diff line change 11module github.com/cectc/dbpack
22
3- go 1.18
3+ go 1.23
44
55require (
66 github.com/agiledragon/gomonkey/v2 v2.7.0
Original file line number Diff line number Diff line change @@ -259,6 +259,7 @@ github.com/containerd/continuity v0.0.0-20201208142359-180525291bb7/go.mod h1:kR
259259github.com/containerd/continuity v0.0.0-20210208174643-50096c924a4e /go.mod h1:EXlVlkqNba9rJe3j7w3Xa924itAMLgZH4UD/Q4PExuQ =
260260github.com/containerd/continuity v0.1.0 /go.mod h1:ICJu0PwR54nI0yPEnJ6jcS+J7CZAUXrLh8lPo2knzsM =
261261github.com/containerd/continuity v0.2.2 h1:QSqfxcn8c+12slxwu00AtzXrsami0MJb/MQs9lOLHLA =
262+ github.com/containerd/continuity v0.2.2 /go.mod h1:pWygW9u7LtS1o4N/Tn0FoCFDIXZ7rxcMX7HX1Dmibvk =
262263github.com/containerd/fifo v0.0.0-20180307165137-3d5202aec260 /go.mod h1:ODA38xgv3Kuk8dQz2ZQXpnv/UZZUHUCL7pnLehbXgQI =
263264github.com/containerd/fifo v0.0.0-20190226154929-a9fb20d87448 /go.mod h1:ODA38xgv3Kuk8dQz2ZQXpnv/UZZUHUCL7pnLehbXgQI =
264265github.com/containerd/fifo v0.0.0-20200410184934-f15a3290365b /go.mod h1:jPQ2IAeZRCYxpS/Cm1495vGFww6ecHmMk1YJH2Q5ln0 =
You can’t perform that action at this time.
0 commit comments