Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore(mod): upgrade Go version to 1.23.4 #954

Merged
merged 1 commit into from
Jan 15, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .env
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# version
GOLANG_VERSION=1.22.5
GOLANG_VERSION=1.23.4
K6_VERSION=0.55.0
XK6_VERSION=0.13.3
XK6_SQL_VERSION=1.0.0
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/golangci-lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -40,5 +40,5 @@ jobs:
- name: golangci-lint
uses: golangci/golangci-lint-action@v6
with:
version: v1.61
version: v1.63.4
args: --timeout=10m --build-tags onnx
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
ARG GOLANG_VERSION=1.22.5
ARG GOLANG_VERSION=1.23.4
FROM golang:${GOLANG_VERSION}-bullseye AS build

ARG TARGETOS TARGETARCH
Expand Down
2 changes: 1 addition & 1 deletion Dockerfile.dev
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
ARG GOLANG_VERSION=1.22.5
ARG GOLANG_VERSION=1.23.4
FROM golang:${GOLANG_VERSION}-bullseye

ARG SERVICE_NAME
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/instill-ai/pipeline-backend

go 1.22.5
go 1.23.4

require (
cloud.google.com/go/bigquery v1.61.0
Expand Down
4 changes: 2 additions & 2 deletions pkg/component/tools/compogen/go.mod
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
module github.com/instill-ai/pipeline-backend/pkg/component/tools/compogen

go 1.22.5
go 1.23.4

require (
github.com/frankban/quicktest v1.14.6
Expand All @@ -11,6 +11,7 @@ require (
github.com/russross/blackfriday/v2 v2.1.0
github.com/spf13/cobra v1.8.0
golang.org/x/text v0.21.0
gopkg.in/yaml.v3 v3.0.1
)

require (
Expand Down Expand Up @@ -109,5 +110,4 @@ require (
google.golang.org/genproto/googleapis/rpc v0.0.0-20240722135656-d784300faade // indirect
google.golang.org/grpc v1.65.0 // indirect
google.golang.org/protobuf v1.34.2 // indirect
gopkg.in/yaml.v3 v3.0.1 // indirect
)
2 changes: 0 additions & 2 deletions pkg/component/tools/compogen/go.sum
Original file line number Diff line number Diff line change
Expand Up @@ -694,8 +694,6 @@ github.com/ianlancetaylor/demangle v0.0.0-20181102032728-5e5cf60278f6/go.mod h1:
github.com/ianlancetaylor/demangle v0.0.0-20200824232613-28f6c0f3b639/go.mod h1:aSSvb/t6k1mPoxDqO4vJh6VOCGPwU4O0C2/Eqndh1Sc=
github.com/inconshreveable/mousetrap v1.1.0 h1:wN+x4NVGpMsO7ErUn/mUI3vEoE6Jt13X2s0bqwp9tc8=
github.com/inconshreveable/mousetrap v1.1.0/go.mod h1:vpF70FUmC8bwa3OWnCshd2FqLfsEA9PFc4w1p2J65bw=
github.com/instill-ai/pipeline-backend v0.49.1-beta.0.20241224134251-c4a675c31007 h1:YrF2mMKfyiJm+itKDLEH3cDWDZjS7JAmfAdISTVlmxM=
github.com/instill-ai/pipeline-backend v0.49.1-beta.0.20241224134251-c4a675c31007/go.mod h1:blCbRLxPUsNFFGldDRTQd4/Uu7KKNP0vfAT70STlS9E=
github.com/instill-ai/pipeline-backend v0.49.1-beta.0.20241225070636-1d7ceb88b650 h1:FKXLGmv3kfLsW0OEU9DjQgyezxnGzXdwixzR4fUP1H8=
github.com/instill-ai/pipeline-backend v0.49.1-beta.0.20241225070636-1d7ceb88b650/go.mod h1:blCbRLxPUsNFFGldDRTQd4/Uu7KKNP0vfAT70STlS9E=
github.com/instill-ai/protogen-go v0.3.3-alpha.0.20241213145904-c3d8111872b5 h1:5338ZeuB/C50P8aUOUKstjBSAQaWqmrdrAK2i9AbWk8=
Expand Down
1 change: 1 addition & 0 deletions pkg/component/tools/compogen/pkg/gen/readme.go
Original file line number Diff line number Diff line change
Expand Up @@ -646,6 +646,7 @@ func anchorTaskWithProperty(prop property, taskName string) string {
if isSemiStructuredObject(prop) {
return prop.Title
}

if prop.Type == "object" ||
(prop.Type == "array" && prop.Items.Type == "object") ||
(prop.Type == "array[object]") {
Expand Down
Loading