Skip to content

Commit

Permalink
feat: upgrade go version to 1.23
Browse files Browse the repository at this point in the history
  • Loading branch information
destinyoooo authored and dk-lockdown committed Dec 17, 2024
1 parent 6972c46 commit a96479a
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 4 deletions.
7 changes: 5 additions & 2 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ jobs:
test:
strategy:
matrix:
go-version: [ 1.18.x ]
go-version: [ 1.23.x ]
# The type of runner that the job will run on
runs-on: ubuntu-latest

Expand All @@ -55,14 +55,17 @@ jobs:
- name: Unit Tests
run: |
mkdir -p build
go test -gcflags=all=-l $(go list ./... | grep -v /test/ | grep -v /parser | grep -v /types) -coverprofile=coverage.txt -covermode=atomic
go test -gcflags=all=-l ./pkg/... -coverprofile=coverage.txt -covermode=atomic
- name: Post Coverage
run: bash <(curl -s https://codecov.io/bash)

- name: Shutdown Ubuntu MySQL (SUDOx)
run: sudo service mysql stop

- name: Setup Docker compose
uses: ndeloof/[email protected]

- name: Integration Tests
shell: bash
run: make integration-test
2 changes: 1 addition & 1 deletion docker/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM golang:1.18.3 as builder
FROM golang:1.23.3 as builder
WORKDIR /app
ADD . /app
RUN make build-local
Expand Down
2 changes: 1 addition & 1 deletion go.mod
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
module github.com/cectc/dbpack

go 1.18
go 1.23

require (
github.com/agiledragon/gomonkey/v2 v2.7.0
Expand Down
1 change: 1 addition & 0 deletions go.sum
Original file line number Diff line number Diff line change
Expand Up @@ -259,6 +259,7 @@ github.com/containerd/continuity v0.0.0-20201208142359-180525291bb7/go.mod h1:kR
github.com/containerd/continuity v0.0.0-20210208174643-50096c924a4e/go.mod h1:EXlVlkqNba9rJe3j7w3Xa924itAMLgZH4UD/Q4PExuQ=
github.com/containerd/continuity v0.1.0/go.mod h1:ICJu0PwR54nI0yPEnJ6jcS+J7CZAUXrLh8lPo2knzsM=
github.com/containerd/continuity v0.2.2 h1:QSqfxcn8c+12slxwu00AtzXrsami0MJb/MQs9lOLHLA=
github.com/containerd/continuity v0.2.2/go.mod h1:pWygW9u7LtS1o4N/Tn0FoCFDIXZ7rxcMX7HX1Dmibvk=
github.com/containerd/fifo v0.0.0-20180307165137-3d5202aec260/go.mod h1:ODA38xgv3Kuk8dQz2ZQXpnv/UZZUHUCL7pnLehbXgQI=
github.com/containerd/fifo v0.0.0-20190226154929-a9fb20d87448/go.mod h1:ODA38xgv3Kuk8dQz2ZQXpnv/UZZUHUCL7pnLehbXgQI=
github.com/containerd/fifo v0.0.0-20200410184934-f15a3290365b/go.mod h1:jPQ2IAeZRCYxpS/Cm1495vGFww6ecHmMk1YJH2Q5ln0=
Expand Down

0 comments on commit a96479a

Please sign in to comment.