Skip to content

Commit c7993ba

Browse files
committed
chore: upgrade go v1.26 and dependencies
1 parent 880d3e7 commit c7993ba

4 files changed

Lines changed: 103 additions & 104 deletions

File tree

.github/workflows/test.yaml

Lines changed: 10 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -6,19 +6,18 @@ name: Test
66
on: pull_request
77

88
jobs:
9-
109
unit-tests:
11-
runs-on: ubuntu-24.04
10+
runs-on: ubuntu-latest
1211
steps:
13-
- uses: actions/checkout@v4
12+
- uses: actions/checkout@v6
1413

15-
- name: Set up Go
16-
uses: actions/setup-go@v5
17-
with:
18-
go-version: '1.24'
14+
- name: Set up Go
15+
uses: actions/setup-go@v6
16+
with:
17+
go-version-file: ./go.mod
1918

20-
- name: Build
21-
run: go build -v ./...
19+
- name: Build
20+
run: go build -v ./...
2221

23-
- name: Run Unit Tests
24-
run: make unit-test
22+
- name: Run Unit Tests
23+
run: make unit-test

Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# Stage 1: Build the Go binary
2-
FROM golang:1.25 AS builder
2+
FROM golang:1.26 AS builder
33

44
WORKDIR /app
55
COPY go.mod go.sum ./

go.mod

Lines changed: 30 additions & 30 deletions
Original file line numberDiff line numberDiff line change
@@ -3,57 +3,57 @@ module github.com/hasura/ndc-elasticsearch
33
go 1.25.7
44

55
require (
6-
github.com/elastic/go-elasticsearch/v8 v8.19.1
6+
github.com/elastic/go-elasticsearch/v8 v8.19.3
77
github.com/hasura/ndc-sdk-go v1.10.0
88
github.com/stretchr/testify v1.11.1
9-
go.opentelemetry.io/otel v1.39.0
10-
go.opentelemetry.io/otel/trace v1.39.0
9+
go.opentelemetry.io/otel v1.42.0
10+
go.opentelemetry.io/otel/trace v1.42.0
1111
)
1212

1313
require (
14-
github.com/alecthomas/kong v1.13.0 // indirect
14+
github.com/alecthomas/kong v1.14.0 // indirect
1515
github.com/beorn7/perks v1.0.1 // indirect
1616
github.com/cenkalti/backoff/v5 v5.0.3 // indirect
1717
github.com/cespare/xxhash/v2 v2.3.0 // indirect
1818
github.com/davecgh/go-spew v1.1.1 // indirect
19-
github.com/elastic/elastic-transport-go/v8 v8.8.0 // indirect
19+
github.com/elastic/elastic-transport-go/v8 v8.9.0 // indirect
2020
github.com/go-logr/logr v1.4.3 // indirect
2121
github.com/go-logr/stdr v1.2.2 // indirect
2222
github.com/go-viper/mapstructure/v2 v2.5.0 // indirect
2323
github.com/google/uuid v1.6.0 // indirect
24-
github.com/grpc-ecosystem/grpc-gateway/v2 v2.27.5 // indirect
24+
github.com/grpc-ecosystem/grpc-gateway/v2 v2.28.0 // indirect
2525
github.com/klauspost/compress v1.18.3 // indirect
2626
github.com/munnerz/goautoneg v0.0.0-20191010083416-a7dc8b61c822 // indirect
2727
github.com/pmezard/go-difflib v1.0.0 // indirect
2828
github.com/prometheus/client_golang v1.23.2 // indirect
2929
github.com/prometheus/client_model v0.6.2 // indirect
3030
github.com/prometheus/common v0.67.5 // indirect
3131
github.com/prometheus/otlptranslator v1.0.0 // indirect
32-
github.com/prometheus/procfs v0.19.2 // indirect
32+
github.com/prometheus/procfs v0.20.1 // indirect
3333
go.opentelemetry.io/auto/sdk v1.2.1 // indirect
34-
go.opentelemetry.io/contrib/bridges/otelslog v0.14.0 // indirect
35-
go.opentelemetry.io/contrib/propagators/b3 v1.39.0 // indirect
36-
go.opentelemetry.io/otel/exporters/otlp/otlplog/otlploggrpc v0.15.0 // indirect
37-
go.opentelemetry.io/otel/exporters/otlp/otlplog/otlploghttp v0.15.0 // indirect
38-
go.opentelemetry.io/otel/exporters/otlp/otlpmetric/otlpmetricgrpc v1.39.0 // indirect
39-
go.opentelemetry.io/otel/exporters/otlp/otlpmetric/otlpmetrichttp v1.39.0 // indirect
40-
go.opentelemetry.io/otel/exporters/otlp/otlptrace v1.39.0 // indirect
41-
go.opentelemetry.io/otel/exporters/otlp/otlptrace/otlptracegrpc v1.39.0 // indirect
42-
go.opentelemetry.io/otel/exporters/otlp/otlptrace/otlptracehttp v1.39.0 // indirect
43-
go.opentelemetry.io/otel/exporters/prometheus v0.61.0 // indirect
44-
go.opentelemetry.io/otel/log v0.15.0 // indirect
45-
go.opentelemetry.io/otel/metric v1.39.0 // indirect
46-
go.opentelemetry.io/otel/sdk v1.39.0 // indirect
47-
go.opentelemetry.io/otel/sdk/log v0.15.0 // indirect
48-
go.opentelemetry.io/otel/sdk/metric v1.39.0 // indirect
49-
go.opentelemetry.io/proto/otlp v1.9.0 // indirect
50-
go.yaml.in/yaml/v2 v2.4.3 // indirect
51-
golang.org/x/net v0.49.0 // indirect
52-
golang.org/x/sys v0.40.0 // indirect
53-
golang.org/x/text v0.33.0 // indirect
54-
google.golang.org/genproto/googleapis/api v0.0.0-20260122232226-8e98ce8d340d // indirect
55-
google.golang.org/genproto/googleapis/rpc v0.0.0-20260122232226-8e98ce8d340d // indirect
56-
google.golang.org/grpc v1.78.0 // indirect
34+
go.opentelemetry.io/contrib/bridges/otelslog v0.17.0 // indirect
35+
go.opentelemetry.io/contrib/propagators/b3 v1.42.0 // indirect
36+
go.opentelemetry.io/otel/exporters/otlp/otlplog/otlploggrpc v0.18.0 // indirect
37+
go.opentelemetry.io/otel/exporters/otlp/otlplog/otlploghttp v0.18.0 // indirect
38+
go.opentelemetry.io/otel/exporters/otlp/otlpmetric/otlpmetricgrpc v1.42.0 // indirect
39+
go.opentelemetry.io/otel/exporters/otlp/otlpmetric/otlpmetrichttp v1.42.0 // indirect
40+
go.opentelemetry.io/otel/exporters/otlp/otlptrace v1.42.0 // indirect
41+
go.opentelemetry.io/otel/exporters/otlp/otlptrace/otlptracegrpc v1.42.0 // indirect
42+
go.opentelemetry.io/otel/exporters/otlp/otlptrace/otlptracehttp v1.42.0 // indirect
43+
go.opentelemetry.io/otel/exporters/prometheus v0.64.0 // indirect
44+
go.opentelemetry.io/otel/log v0.18.0 // indirect
45+
go.opentelemetry.io/otel/metric v1.42.0 // indirect
46+
go.opentelemetry.io/otel/sdk v1.42.0 // indirect
47+
go.opentelemetry.io/otel/sdk/log v0.18.0 // indirect
48+
go.opentelemetry.io/otel/sdk/metric v1.42.0 // indirect
49+
go.opentelemetry.io/proto/otlp v1.10.0 // indirect
50+
go.yaml.in/yaml/v2 v2.4.4 // indirect
51+
golang.org/x/net v0.52.0 // indirect
52+
golang.org/x/sys v0.42.0 // indirect
53+
golang.org/x/text v0.35.0 // indirect
54+
google.golang.org/genproto/googleapis/api v0.0.0-20260316180232-0b37fe3546d5 // indirect
55+
google.golang.org/genproto/googleapis/rpc v0.0.0-20260316180232-0b37fe3546d5 // indirect
56+
google.golang.org/grpc v1.79.2 // indirect
5757
google.golang.org/protobuf v1.36.11 // indirect
5858
gopkg.in/yaml.v3 v3.0.1 // indirect
5959
)

0 commit comments

Comments
 (0)