Skip to content

Commit

Permalink
upgrade go.mod version to 1.19 (#936)
Browse files Browse the repository at this point in the history
  • Loading branch information
Abingcbc authored Jun 19, 2023
1 parent ca44443 commit 45473cf
Show file tree
Hide file tree
Showing 11 changed files with 12 additions and 12 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/build-core.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ jobs:
timeout-minutes: 30
strategy:
matrix:
go-version: [1.18]
go-version: [1.19]
# https://docs.github.com/en/actions/learn-github-actions/workflow-syntax-for-github-actions#jobsjob_idruns-on
runner: [ubuntu-latest, macos-latest, windows-2019]
fail-fast: true
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/build-pure-plugin.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ jobs:
timeout-minutes: 30
strategy:
matrix:
go-version: [ 1.18 ]
go-version: [ 1.19 ]
# https://docs.github.com/en/actions/learn-github-actions/workflow-syntax-for-github-actions#jobsjob_idruns-on
runner: [ ubuntu-latest, macos-latest, windows-2019 ]
fail-fast: true
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ jobs:
timeout-minutes: 30
strategy:
matrix:
go-version: [1.18]
go-version: [1.19]
# https://docs.github.com/en/actions/learn-github-actions/workflow-syntax-for-github-actions#jobsjob_idruns-on
runner: [ubuntu-latest, macos-latest, windows-2019]
fail-fast: true
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/e2e-core.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ jobs:
timeout-minutes: 30
strategy:
matrix:
go-version: [ 1.18 ]
go-version: [ 1.19 ]
runner: [ ubuntu ]
fail-fast: true
steps:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/e2e.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ jobs:
timeout-minutes: 60
strategy:
matrix:
go-version: [ 1.18 ]
go-version: [ 1.19 ]
runner: [ ubuntu ]
fail-fast: true
steps:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/static-check.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ jobs:
timeout-minutes: 30
strategy:
matrix:
go-version: [ 1.18 ]
go-version: [ 1.19 ]
runner: [ ubuntu, macos ]
fail-fast: true
steps:
Expand Down
2 changes: 1 addition & 1 deletion config_server/service/go.mod
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
module github.com/alibaba/ilogtail/config_server/service

go 1.18
go 1.19

require (
github.com/gin-gonic/gin v1.8.1
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/alibaba/ilogtail

go 1.18
go 1.19

require (
github.com/ClickHouse/clickhouse-go/v2 v2.6.0
Expand Down
2 changes: 1 addition & 1 deletion pkg/go.mod
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
module github.com/alibaba/ilogtail/pkg

go 1.18
go 1.19

require (
github.com/alibaba/ilogtail v1.4.0
Expand Down
2 changes: 1 addition & 1 deletion test/go.mod
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
module github.com/alibaba/ilogtail/test

go 1.18
go 1.19

require (
github.com/ClickHouse/clickhouse-go/v2 v2.6.0
Expand Down
4 changes: 2 additions & 2 deletions tools/builder/main_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ func Test_generatePluginSourceCode(t *testing.T) {
ModFile: "go.mod",
GoModContent: `module github.com/alibaba/ilogtail
go 1.18
go 1.19
require (
github.com/alibaba/ilogtail/base v0.0.0-20230128101543-c0c844084b0e
Expand Down Expand Up @@ -222,7 +222,7 @@ import _ "github.com/mock/debug_plugins1"
import _ "github.com/mock/debug_plugins2"`,
"go.mod": `module github.com/alibaba/ilogtail
go 1.18
go 1.19
require (
github.com/alibaba/ilogtail/base v0.0.0-20230128101543-c0c844084b0e
Expand Down

0 comments on commit 45473cf

Please sign in to comment.