chore: upgrade to go 1.21 (#3401)

This commit is contained in:
Raj Kamal Singh 2023-08-22 16:18:43 +05:30 committed by GitHub
parent 6a4aa7e5f5
commit b6e111b835
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
4 changed files with 12 additions and 4 deletions

View File

@ -30,6 +30,10 @@ jobs:
build-query-service:
runs-on: ubuntu-latest
steps:
- name: Setup golang
uses: actions/setup-go@v4
with:
go-version: "1.21"
- name: Checkout code
uses: actions/checkout@v3
- name: Run tests
@ -44,6 +48,10 @@ jobs:
build-ee-query-service:
runs-on: ubuntu-latest
steps:
- name: Setup golang
uses: actions/setup-go@v4
with:
go-version: "1.21"
- name: Checkout code
uses: actions/checkout@v3
- name: Build EE query-service image

View File

@ -1,4 +1,4 @@
FROM golang:1.18-buster AS builder
FROM golang:1.21-bookworm AS builder
# LD_FLAGS is passed as argument from Makefile. It will be empty, if no argument passed
ARG LD_FLAGS

4
go.mod
View File

@ -1,13 +1,13 @@
module go.signoz.io/signoz
go 1.18
go 1.21
require (
github.com/ClickHouse/clickhouse-go/v2 v2.5.1
github.com/SigNoz/govaluate v0.0.0-20220522085550-d19c08c206cb
github.com/antonmedv/expr v1.12.4
github.com/SigNoz/zap_otlp/zap_otlp_encoder v0.0.0-20230523034029-2b7ff773052c
github.com/SigNoz/zap_otlp/zap_otlp_sync v0.0.0-20230517094211-cd3f3f0aea85
github.com/antonmedv/expr v1.12.4
github.com/coreos/go-oidc/v3 v3.4.0
github.com/dustin/go-humanize v1.0.1
github.com/go-co-op/gocron v1.30.1

View File

@ -1,4 +1,4 @@
FROM golang:1.18-buster AS builder
FROM golang:1.21-bookworm AS builder
# LD_FLAGS is passed as argument from Makefile. It will be empty, if no argument passed
ARG LD_FLAGS