Skip to content

Commit

Permalink
Merge pull request #232 from nokia/go1.21
Browse files Browse the repository at this point in the history
bump go version to 1.21.1
  • Loading branch information
karimra authored Oct 3, 2023
2 parents e2f9168 + 6e84d3e commit 48ccb49
Show file tree
Hide file tree
Showing 9 changed files with 127 additions and 97 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,11 +17,11 @@ on:
# - "!releases/**"

env:
GOVER: 1.19.5
GOVER: 1.21.1

jobs:
lint:
runs-on: ubuntu-20.04
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@v4
- uses: actions/setup-go@v4
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,12 +13,12 @@ on:
tags:
- v*
env:
GOVER: 1.20.5
GOVER: 1.21.1
GORELEASER_VER: v1.19.2

jobs:
test:
runs-on: ubuntu-20.04
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@v4
- uses: actions/setup-go@v4
Expand All @@ -29,7 +29,7 @@ jobs:
CGO_ENABLED: 0

release:
runs-on: ubuntu-20.04
runs-on: ubuntu-22.04
needs:
- test
steps:
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,11 +16,11 @@ on:
- "main"
- "!releases/**"
env:
GOVER: 1.20.5
GOVER: 1.21.1

jobs:
test:
runs-on: ubuntu-20.04
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@v4
- uses: actions/setup-go@v4
Expand Down
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
#
# SPDX-License-Identifier: Apache-2.0

FROM golang:1.20.5 as builder
FROM golang:1.21.1 as builder
ADD . /build
WORKDIR /build
RUN CGO_ENABLED=0 go build -ldflags="-s -w" -o gnmic .
Expand Down
48 changes: 24 additions & 24 deletions go.mod
Original file line number Diff line number Diff line change
@@ -1,19 +1,19 @@
module github.com/openconfig/gnmic

go 1.20
go 1.21

require (
github.com/Shopify/sarama v1.38.1
github.com/adrg/xdg v0.4.0
github.com/c-bata/go-prompt v0.2.5
github.com/damiannolan/sasl v1.0.0
github.com/docker/docker v24.0.4+incompatible
github.com/docker/docker v24.0.6+incompatible
github.com/fsnotify/fsnotify v1.6.0
github.com/fullstorydev/grpcurl v1.8.7
github.com/go-redis/redis/v8 v8.11.5
github.com/go-resty/resty/v2 v2.7.0
github.com/google/go-cmp v0.5.9
github.com/google/uuid v1.3.0
github.com/google/uuid v1.3.1
github.com/gorilla/handlers v1.5.1
github.com/gorilla/mux v1.8.0
github.com/gosnmp/gosnmp v1.35.0
Expand All @@ -23,22 +23,22 @@ require (
github.com/huandu/xstrings v1.4.0
github.com/influxdata/influxdb-client-go/v2 v2.12.3
github.com/itchyny/gojq v0.12.13
github.com/jellydator/ttlcache/v3 v3.0.1
github.com/jellydator/ttlcache/v3 v3.1.0
github.com/jhump/protoreflect v1.15.1
github.com/jlaffaye/ftp v0.2.0
github.com/karimra/go-map-flattener v0.0.1
github.com/karimra/sros-dialout v0.0.0-20200518085040-c759bf74063a
github.com/manifoldco/promptui v0.9.0
github.com/mitchellh/go-homedir v1.1.0
github.com/mitchellh/mapstructure v1.5.0
github.com/nats-io/nats.go v1.27.1
github.com/nats-io/nats.go v1.30.1
github.com/nats-io/stan.go v0.10.4
github.com/nsf/termbox-go v1.1.1
github.com/olekukonko/tablewriter v0.0.5
github.com/openconfig/gnmi v0.10.0
github.com/openconfig/goyang v1.4.1
github.com/openconfig/goyang v1.4.2
github.com/openconfig/ygot v0.29.2
github.com/pkg/sftp v1.13.5
github.com/pkg/sftp v1.13.6
github.com/prometheus/client_golang v1.16.0
github.com/prometheus/client_model v0.4.0
github.com/prometheus/prometheus v0.45.0
Expand All @@ -47,10 +47,10 @@ require (
github.com/spf13/viper v1.15.0
github.com/xdg/scram v1.0.5
go.starlark.net v0.0.0-20230612165344-9532f5667272
golang.org/x/crypto v0.11.0
golang.org/x/oauth2 v0.10.0
golang.org/x/crypto v0.13.0
golang.org/x/oauth2 v0.12.0
golang.org/x/sync v0.3.0
google.golang.org/grpc v1.56.1
google.golang.org/grpc v1.58.2
google.golang.org/protobuf v1.31.0
gopkg.in/natefinch/lumberjack.v2 v2.2.1
gopkg.in/yaml.v2 v2.4.0
Expand All @@ -60,9 +60,9 @@ require (
)

require (
cloud.google.com/go/compute v1.20.1 // indirect
cloud.google.com/go/compute v1.21.0 // indirect
cloud.google.com/go/compute/metadata v0.2.3 // indirect
cloud.google.com/go/iam v0.13.0 // indirect
cloud.google.com/go/iam v1.1.1 // indirect
github.com/Azure/go-ansiterm v0.0.0-20210617225240-d185dfc1b5a1 // indirect
github.com/Knetic/govaluate v3.0.0+incompatible // indirect
github.com/apparentlymart/go-cidr v1.1.0 // indirect
Expand Down Expand Up @@ -123,10 +123,10 @@ require (
go.uber.org/atomic v1.11.0 // indirect
golang.org/x/exp v0.0.0-20230626212559-97b1e661b5df // indirect
golang.org/x/mod v0.11.0 // indirect
golang.org/x/term v0.10.0 // indirect
golang.org/x/term v0.12.0 // indirect
golang.org/x/tools v0.10.0 // indirect
google.golang.org/genproto/googleapis/api v0.0.0-20230530153820-e85fd2cbaebc // indirect
google.golang.org/genproto/googleapis/rpc v0.0.0-20230530153820-e85fd2cbaebc // indirect
google.golang.org/genproto/googleapis/api v0.0.0-20230711160842-782d3b101e98 // indirect
google.golang.org/genproto/googleapis/rpc v0.0.0-20230711160842-782d3b101e98 // indirect
gopkg.in/inf.v0 v0.9.1 // indirect
k8s.io/klog/v2 v2.100.1 // indirect
k8s.io/kube-openapi v0.0.0-20230501164219-8b0f38b5fd1f // indirect
Expand All @@ -136,8 +136,8 @@ require (
)

require (
cloud.google.com/go v0.110.2 // indirect
cloud.google.com/go/storage v1.29.0 // indirect
cloud.google.com/go v0.110.4 // indirect
cloud.google.com/go/storage v1.30.1 // indirect
github.com/AlekSi/pointer v1.2.0
github.com/Masterminds/goutils v1.1.1 // indirect
github.com/Microsoft/go-winio v0.6.0 // indirect
Expand Down Expand Up @@ -209,7 +209,7 @@ require (
github.com/jmespath/go-jmespath v0.4.0 // indirect
github.com/joho/godotenv v1.4.0 // indirect
github.com/kevinburke/ssh_config v1.2.0 // indirect
github.com/klauspost/compress v1.16.5 // indirect
github.com/klauspost/compress v1.17.0 // indirect
github.com/kr/fs v0.1.0 // indirect
github.com/magiconair/properties v1.8.7 // indirect
github.com/mattn/go-colorable v0.1.13 // indirect
Expand All @@ -219,7 +219,7 @@ require (
github.com/matttproud/golang_protobuf_extensions v1.0.4 // indirect
github.com/nats-io/nats-server/v2 v2.9.20
github.com/nats-io/nats-streaming-server v0.24.3 // indirect
github.com/nats-io/nkeys v0.4.4 // indirect
github.com/nats-io/nkeys v0.4.5 // indirect
github.com/nats-io/nuid v1.0.1 // indirect
github.com/openconfig/grpctunnel v0.0.0-20220819142823-6f5422b8ca70
github.com/opencontainers/go-digest v1.0.0 // indirect
Expand All @@ -243,16 +243,16 @@ require (
go.etcd.io/bbolt v1.3.6 // indirect
go.opencensus.io v0.24.0 // indirect
go4.org/intern v0.0.0-20230205224052-192e9f60865c // indirect
go4.org/unsafe/assume-no-moving-gc v0.0.0-20230204201903-c31fa085b70e // indirect
go4.org/unsafe/assume-no-moving-gc v0.0.0-20230525183740-e7c30c78aeb2 // indirect
gocloud.dev v0.25.1-0.20220408200107-09b10f7359f7 // indirect
golang.org/x/net v0.13.0
golang.org/x/sys v0.10.0 // indirect
golang.org/x/text v0.11.0
golang.org/x/net v0.15.0
golang.org/x/sys v0.12.0 // indirect
golang.org/x/text v0.13.0
golang.org/x/time v0.3.0 // indirect
golang.org/x/xerrors v0.0.0-20220907171357-04be3eba64a2 // indirect
google.golang.org/api v0.126.0 // indirect
google.golang.org/appengine v1.6.7 // indirect
google.golang.org/genproto v0.0.0-20230530153820-e85fd2cbaebc // indirect
google.golang.org/genproto v0.0.0-20230711160842-782d3b101e98 // indirect
gopkg.in/ini.v1 v1.67.0 // indirect
gopkg.in/square/go-jose.v2 v2.6.0 // indirect
gopkg.in/warnings.v0 v0.1.2 // indirect
Expand Down
Loading

0 comments on commit 48ccb49

Please sign in to comment.