mirror of
https://git.mirrors.martin98.com/https://github.com/SigNoz/signoz
synced 2025-07-25 12:44:26 +08:00
chore: upgrade to go 1.21 (#3401)
This commit is contained in:
parent
6a4aa7e5f5
commit
b6e111b835
8
.github/workflows/build.yaml
vendored
8
.github/workflows/build.yaml
vendored
@ -30,6 +30,10 @@ jobs:
|
|||||||
build-query-service:
|
build-query-service:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
|
- name: Setup golang
|
||||||
|
uses: actions/setup-go@v4
|
||||||
|
with:
|
||||||
|
go-version: "1.21"
|
||||||
- name: Checkout code
|
- name: Checkout code
|
||||||
uses: actions/checkout@v3
|
uses: actions/checkout@v3
|
||||||
- name: Run tests
|
- name: Run tests
|
||||||
@ -44,6 +48,10 @@ jobs:
|
|||||||
build-ee-query-service:
|
build-ee-query-service:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
|
- name: Setup golang
|
||||||
|
uses: actions/setup-go@v4
|
||||||
|
with:
|
||||||
|
go-version: "1.21"
|
||||||
- name: Checkout code
|
- name: Checkout code
|
||||||
uses: actions/checkout@v3
|
uses: actions/checkout@v3
|
||||||
- name: Build EE query-service image
|
- name: Build EE query-service image
|
||||||
|
@ -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
|
# LD_FLAGS is passed as argument from Makefile. It will be empty, if no argument passed
|
||||||
ARG LD_FLAGS
|
ARG LD_FLAGS
|
||||||
|
4
go.mod
4
go.mod
@ -1,13 +1,13 @@
|
|||||||
module go.signoz.io/signoz
|
module go.signoz.io/signoz
|
||||||
|
|
||||||
go 1.18
|
go 1.21
|
||||||
|
|
||||||
require (
|
require (
|
||||||
github.com/ClickHouse/clickhouse-go/v2 v2.5.1
|
github.com/ClickHouse/clickhouse-go/v2 v2.5.1
|
||||||
github.com/SigNoz/govaluate v0.0.0-20220522085550-d19c08c206cb
|
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_encoder v0.0.0-20230523034029-2b7ff773052c
|
||||||
github.com/SigNoz/zap_otlp/zap_otlp_sync v0.0.0-20230517094211-cd3f3f0aea85
|
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/coreos/go-oidc/v3 v3.4.0
|
||||||
github.com/dustin/go-humanize v1.0.1
|
github.com/dustin/go-humanize v1.0.1
|
||||||
github.com/go-co-op/gocron v1.30.1
|
github.com/go-co-op/gocron v1.30.1
|
||||||
|
@ -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
|
# LD_FLAGS is passed as argument from Makefile. It will be empty, if no argument passed
|
||||||
ARG LD_FLAGS
|
ARG LD_FLAGS
|
||||||
|
Loading…
x
Reference in New Issue
Block a user