Browse Source

chore: upgrade go to 1.19 (#3648)

Kevin Wan 1 year ago
parent
commit
3ab4e82168
2 changed files with 3 additions and 3 deletions
  1. 2 2
      .github/workflows/go.yml
  2. 1 1
      go.mod

+ 2 - 2
.github/workflows/go.yml

@@ -17,7 +17,7 @@ jobs:
       - name: Set up Go 1.x
         uses: actions/setup-go@v3
         with:
-          go-version: 1.18
+          go-version: 1.19
           check-latest: true
           cache: true
         id: go
@@ -53,7 +53,7 @@ jobs:
         uses: actions/setup-go@v3
         with:
           # use 1.18 to guarantee Go 1.18 compatibility
-          go-version: 1.18
+          go-version: 1.19
           check-latest: true
           cache: true
 

+ 1 - 1
go.mod

@@ -1,6 +1,6 @@
 module github.com/zeromicro/go-zero
 
-go 1.18
+go 1.19
 
 require (
 	github.com/DATA-DOG/go-sqlmock v1.5.0