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

Upgrade Go to 1.23 #150

Merged
merged 1 commit into from
Sep 2, 2024
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
12 changes: 6 additions & 6 deletions .github/workflows/ci-flow.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,11 +7,11 @@ jobs:
name: Lint
runs-on: ubuntu-latest
steps:
- name: Set up Go 1.18
- name: Set up Go 1.23
if: success()
uses: actions/setup-go@v3
with:
go-version: 1.18
go-version: 1.23

- name: Checkout code
if: success()
Expand Down Expand Up @@ -51,11 +51,11 @@ jobs:
name: Tests
runs-on: ubuntu-latest
steps:
- name: Set up Go 1.18
- name: Set up Go 1.23
if: success()
uses: actions/setup-go@v3
with:
go-version: 1.18
go-version: 1.23

- name: Checkout code
if: success()
Expand Down Expand Up @@ -106,11 +106,11 @@ jobs:
needs: test
runs-on: ubuntu-latest
steps:
- name: Set up Go 1.18
- name: Set up Go 1.23
if: success()
uses: actions/setup-go@v3
with:
go-version: 1.18
go-version: 1.23

- name: Checkout code
if: success()
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/ci-solana.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,11 +7,11 @@ jobs:
name: Tests
runs-on: ubuntu-latest
steps:
- name: Set up Go 1.18
- name: Set up Go 1.23
if: success()
uses: actions/setup-go@v3
with:
go-version: 1.18
go-version: 1.23

- name: Checkout code
if: success()
Expand Down Expand Up @@ -62,11 +62,11 @@ jobs:
needs: test
runs-on: ubuntu-latest
steps:
- name: Set up Go 1.18
- name: Set up Go 1.23
if: success()
uses: actions/setup-go@v3
with:
go-version: 1.18
go-version: 1.23

- name: Checkout code
if: success()
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,11 +15,11 @@ jobs:
packages: write

steps:
- name: Set up Go 1.18
- name: Set up Go 1.23
if: success()
uses: actions/setup-go@v3
with:
go-version: 1.18
go-version: 1.23

- name: Checkout code
if: success()
Expand Down
41 changes: 26 additions & 15 deletions go.mod
Original file line number Diff line number Diff line change
@@ -1,16 +1,15 @@
module agent

go 1.18
go 1.23

require (
cloud.google.com/go/compute v1.9.0
github.com/aws/aws-sdk-go-v2/feature/ec2/imds v1.12.15
github.com/beevik/ntp v0.3.0
github.com/cenkalti/backoff v2.2.1+incompatible
github.com/coreos/go-systemd/v22 v22.5.0
github.com/digitalocean/go-metadata v0.0.0-20220602160802-6f1b22e9ba8c
github.com/docker/docker v20.10.24+incompatible
github.com/golang/protobuf v1.5.2
github.com/docker/docker v25.0.6+incompatible
github.com/golang/protobuf v1.5.4
github.com/influxdata/influxdb v1.10.0
github.com/joho/godotenv v1.4.0
github.com/mitchellh/mapstructure v1.5.0
Expand All @@ -21,29 +20,35 @@ require (
github.com/prometheus/client_model v0.2.0
github.com/prometheus/common v0.37.0
github.com/prometheus/procfs v0.8.0
github.com/stretchr/testify v1.8.0
github.com/stretchr/testify v1.9.0
github.com/vultr/metadata v1.1.0
go.uber.org/zap v1.23.0
golang.org/x/net v0.7.0 // indirect
golang.org/x/sys v0.5.0
google.golang.org/grpc v1.49.0
google.golang.org/protobuf v1.28.1
golang.org/x/net v0.28.0 // indirect
golang.org/x/sys v0.24.0
google.golang.org/grpc v1.65.0
google.golang.org/protobuf v1.34.2
gopkg.in/yaml.v3 v3.0.1
)

require cloud.google.com/go/compute/metadata v0.3.0

require (
github.com/Azure/go-ansiterm v0.0.0-20210617225240-d185dfc1b5a1 // indirect
github.com/Microsoft/go-winio v0.5.2 // indirect
github.com/Nvveen/Gotty v0.0.0-20120604004816-cd527374f1e5 // indirect
github.com/aws/aws-sdk-go-v2 v1.16.14 // indirect
github.com/aws/smithy-go v1.13.2 // indirect
github.com/beorn7/perks v1.0.1 // indirect
github.com/cespare/xxhash/v2 v2.1.2 // indirect
github.com/cespare/xxhash/v2 v2.3.0 // indirect
github.com/containerd/continuity v0.3.0 // indirect
github.com/containerd/log v0.1.0 // indirect
github.com/davecgh/go-spew v1.1.1 // indirect
github.com/docker/distribution v2.8.2+incompatible // indirect
github.com/distribution/reference v0.6.0 // indirect
github.com/docker/go-connections v0.4.0 // indirect
github.com/docker/go-units v0.5.0 // indirect
github.com/felixge/httpsnoop v1.0.4 // indirect
github.com/go-logr/logr v1.4.2 // indirect
github.com/go-logr/stdr v1.2.2 // indirect
github.com/godbus/dbus/v5 v5.0.6 // indirect
github.com/gogo/protobuf v1.3.2 // indirect
github.com/gotestyourself/gotestyourself v2.2.0+incompatible // indirect
Expand All @@ -54,13 +59,19 @@ require (
github.com/opencontainers/image-spec v1.0.3-0.20211202183452-c5a74bcca799 // indirect
github.com/opencontainers/runc v1.1.5 // indirect
github.com/pmezard/go-difflib v1.0.0 // indirect
github.com/sirupsen/logrus v1.9.0 // indirect
github.com/sirupsen/logrus v1.9.3 // indirect
go.opentelemetry.io/contrib/instrumentation/net/http/otelhttp v0.54.0 // indirect
go.opentelemetry.io/otel v1.29.0 // indirect
go.opentelemetry.io/otel/exporters/otlp/otlptrace/otlptracehttp v1.29.0 // indirect
go.opentelemetry.io/otel/metric v1.29.0 // indirect
go.opentelemetry.io/otel/sdk v1.29.0 // indirect
go.opentelemetry.io/otel/trace v1.29.0 // indirect
go.uber.org/atomic v1.10.0 // indirect
go.uber.org/multierr v1.8.0 // indirect
golang.org/x/sync v0.0.0-20220819030929-7fc1605a5dde // indirect
golang.org/x/text v0.7.0 // indirect
golang.org/x/sync v0.8.0 // indirect
golang.org/x/text v0.17.0 // indirect
golang.org/x/time v0.0.0-20210723032227-1f47c861a9ac // indirect
google.golang.org/genproto v0.0.0-20220902135211-223410557253 // indirect
google.golang.org/genproto v0.0.0-20230410155749-daa745c078e1 // indirect
gotest.tools v2.2.0+incompatible // indirect
gotest.tools/v3 v3.1.0 // indirect
)
Loading
Loading