Skip to content

Commit c5b214c

Browse files
authored
Upgrade Golang 1.22 (#607)
- added/removed dependencies - update workflow to pull down the updated golang version 1.22 - update test setup for changed MatchYAML behavior
1 parent 3c01d4c commit c5b214c

File tree

6 files changed

+565
-419
lines changed

6 files changed

+565
-419
lines changed

.github/workflows/test.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ jobs:
2525
- name: Set up Go
2626
uses: actions/setup-go@v3
2727
with:
28-
go-version: 1.19.5
28+
go-version: 1.22.0
2929

3030
- name: Test
3131
run: |

depstability/dependency_stability_test.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ func listDepnamesFromGoSum() (deplist []string, err error) {
4040
}
4141

4242
func listDepnamesFromRecords() (deplist []string, err error) {
43-
depRecords, err := ioutil.ReadFile("records/depnames-7.3.2.txt")
43+
depRecords, err := ioutil.ReadFile("records/depnames-7.11.0.txt")
4444
trimmedDepRecords := strings.TrimSpace(string(depRecords))
4545
deplist = strings.Split(trimmedDepRecords, "\n")
4646
return
+201
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,201 @@
1+
cloud.google.com/go
2+
cloud.google.com/go/compute
3+
cloud.google.com/go/compute/metadata
4+
cloud.google.com/go/iam
5+
cloud.google.com/go/storage
6+
code.cloudfoundry.org/archiver
7+
code.cloudfoundry.org/clock
8+
code.cloudfoundry.org/credhub-cli
9+
code.cloudfoundry.org/hydrator
10+
code.cloudfoundry.org/tlsconfig
11+
code.cloudfoundry.org/workpool
12+
filippo.io/edwards25519
13+
github.com/Azure/azure-sdk-for-go
14+
github.com/Azure/go-autorest
15+
github.com/Azure/go-autorest/autorest
16+
github.com/Azure/go-autorest/autorest/adal
17+
github.com/Azure/go-autorest/autorest/azure/auth
18+
github.com/Azure/go-autorest/autorest/azure/cli
19+
github.com/Azure/go-autorest/autorest/date
20+
github.com/Azure/go-autorest/autorest/mocks
21+
github.com/Azure/go-autorest/autorest/to
22+
github.com/Azure/go-autorest/autorest/validation
23+
github.com/Azure/go-autorest/logger
24+
github.com/Azure/go-autorest/tracing
25+
github.com/BurntSushi/toml
26+
github.com/StackExchange/wmi
27+
github.com/VividCortex/ewma
28+
github.com/a8m/tree
29+
github.com/armon/go-socks5
30+
github.com/aws/aws-sdk-go
31+
github.com/blang/semver
32+
github.com/bmatcuk/doublestar
33+
github.com/census-instrumentation/opencensus-proto
34+
github.com/charlievieth/fs
35+
github.com/cheekybits/is
36+
github.com/cheggaaa/pb
37+
github.com/cheggaaa/pb/v3
38+
github.com/client9/misspell
39+
github.com/cloudfoundry-community/go-uaa
40+
github.com/cloudfoundry/bosh-agent
41+
github.com/cloudfoundry/bosh-cli
42+
github.com/cloudfoundry/bosh-davcli
43+
github.com/cloudfoundry/bosh-gcscli
44+
github.com/cloudfoundry/bosh-s3cli
45+
github.com/cloudfoundry/bosh-utils
46+
github.com/cloudfoundry/config-server
47+
github.com/cloudfoundry/go-socks5
48+
github.com/cloudfoundry/socks5-proxy
49+
github.com/cncf/udpa/go
50+
github.com/cncf/xds/go
51+
github.com/cppforlife/go-patch
52+
github.com/cppforlife/go-semi-semantic
53+
github.com/creack/pty
54+
github.com/cyphar/filepath-securejoin
55+
github.com/davecgh/go-spew
56+
github.com/dgrijalva/jwt-go
57+
github.com/dimchansky/utfbom
58+
github.com/dnaeon/go-vcr
59+
github.com/dougm/pretty
60+
github.com/dsnet/compress
61+
github.com/dsnet/golib
62+
github.com/dustin/go-humanize
63+
github.com/envoyproxy/go-control-plane
64+
github.com/envoyproxy/protoc-gen-validate
65+
github.com/fatih/color
66+
github.com/felixge/httpsnoop
67+
github.com/frankban/quicktest
68+
github.com/fsnotify/fsnotify
69+
github.com/ghodss/yaml
70+
github.com/go-logr/logr
71+
github.com/go-logr/stdr
72+
github.com/go-ole/go-ole
73+
github.com/go-playground/locales
74+
github.com/go-playground/universal-translator
75+
github.com/go-task/slim-sprig
76+
github.com/gofrs/uuid
77+
github.com/golang-jwt/jwt/v4
78+
github.com/golang/glog
79+
github.com/golang/groupcache
80+
github.com/golang/mock
81+
github.com/golang/protobuf
82+
github.com/golang/snappy
83+
github.com/google/btree
84+
github.com/google/go-cmp
85+
github.com/google/martian
86+
github.com/google/martian/v3
87+
github.com/google/pprof
88+
github.com/google/readahead
89+
github.com/google/s2a-go
90+
github.com/google/uuid
91+
github.com/googleapis/enterprise-certificate-proxy
92+
github.com/googleapis/gax-go/v2
93+
github.com/graymeta/stow
94+
github.com/hashicorp/errwrap
95+
github.com/hashicorp/go-multierror
96+
github.com/hashicorp/go-version
97+
github.com/hashicorp/golang-lru
98+
github.com/howeyc/gopass
99+
github.com/hpcloud/tail
100+
github.com/jessevdk/go-flags
101+
github.com/jhoonb/archivex
102+
github.com/jmespath/go-jmespath
103+
github.com/jmespath/go-jmespath/internal/testify
104+
github.com/joefitzgerald/rainbow-reporter
105+
github.com/jpillora/backoff
106+
github.com/jstemmer/go-junit-report
107+
github.com/klauspost/compress
108+
github.com/klauspost/cpuid
109+
github.com/kr/fs
110+
github.com/kr/pretty
111+
github.com/kr/pty
112+
github.com/kr/text
113+
github.com/leodido/go-urn
114+
github.com/mattn/go-colorable
115+
github.com/mattn/go-isatty
116+
github.com/mattn/go-runewidth
117+
github.com/maxbrunsfeld/counterfeiter/v6
118+
github.com/mholt/archiver
119+
github.com/mitchellh/go-homedir
120+
github.com/modocache/gover
121+
github.com/ncw/swift
122+
github.com/niemeyer/pretty
123+
github.com/nu7hatch/gouuid
124+
github.com/nwaples/rardecode
125+
github.com/nxadm/tail
126+
github.com/olekukonko/tablewriter
127+
github.com/onsi/ginkgo
128+
github.com/onsi/ginkgo/v2
129+
github.com/onsi/gomega
130+
github.com/opencontainers/go-digest
131+
github.com/opencontainers/image-spec
132+
github.com/pierrec/lz4
133+
github.com/pivotal-cf-experimental/gomegamatchers
134+
github.com/pivotal-cf/go-pivnet
135+
github.com/pivotal-cf/go-pivnet/v6
136+
github.com/pivotal-cf/jhanda
137+
github.com/pivotal-cf/paraphernalia
138+
github.com/pivotal-cf/pivnet-cli/v2
139+
github.com/pivotal-cf/replicator
140+
github.com/pivotal-cf/winfs-injector
141+
github.com/pkg/errors
142+
github.com/pkg/sftp
143+
github.com/pmezard/go-difflib
144+
github.com/pquerna/ffjson
145+
github.com/prometheus/client_model
146+
github.com/rivo/uniseg
147+
github.com/robdimsdale/sanitizer
148+
github.com/rogpeppe/go-internal
149+
github.com/satori/go.uuid
150+
github.com/sclevine/agouti
151+
github.com/sclevine/spec
152+
github.com/shirou/gopsutil
153+
github.com/square/certstrap
154+
github.com/stretchr/objx
155+
github.com/stretchr/testify
156+
github.com/ulikunitz/xz
157+
github.com/vito/go-interact
158+
github.com/vmware/govmomi
159+
github.com/xi2/xz
160+
github.com/xlab/treeprint
161+
github.com/yuin/goldmark
162+
github.com/yusufpapurcu/wmi
163+
go.opencensus.io
164+
go.opentelemetry.io/contrib/instrumentation/google.golang.org/grpc/otelgrpc
165+
go.opentelemetry.io/contrib/instrumentation/net/http/otelhttp
166+
go.opentelemetry.io/otel
167+
go.opentelemetry.io/otel/metric
168+
go.opentelemetry.io/otel/sdk
169+
go.opentelemetry.io/otel/trace
170+
go.step.sm/crypto
171+
golang.org/x/crypto
172+
golang.org/x/exp
173+
golang.org/x/lint
174+
golang.org/x/mod
175+
golang.org/x/net
176+
golang.org/x/oauth2
177+
golang.org/x/sync
178+
golang.org/x/sys
179+
golang.org/x/term
180+
golang.org/x/text
181+
golang.org/x/time
182+
golang.org/x/tools
183+
golang.org/x/xerrors
184+
google.golang.org/api
185+
google.golang.org/appengine
186+
google.golang.org/genproto
187+
google.golang.org/genproto/googleapis/api
188+
google.golang.org/genproto/googleapis/rpc
189+
google.golang.org/grpc
190+
google.golang.org/protobuf
191+
gopkg.in/check.v1
192+
gopkg.in/cheggaaa/pb.v1
193+
gopkg.in/fsnotify.v1
194+
gopkg.in/go-playground/assert.v1
195+
gopkg.in/go-playground/validator.v9
196+
gopkg.in/kothar/go-backblaze.v0
197+
gopkg.in/tomb.v1
198+
gopkg.in/yaml.v2
199+
gopkg.in/yaml.v3
200+
honnef.co/go/tools
201+
howett.net/ranger

0 commit comments

Comments
 (0)