-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* bump ginkgo v2, go1.18 * changelog * bump go version in actions * go gets * codegen * use v2.5.0 * go version check * fix script * update changelog * update changelog again --------- Co-authored-by: Jenny Shu <[email protected]>
- Loading branch information
Showing
13 changed files
with
101 additions
and
58 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
changelog: | ||
- type: DEPENDENCY_BUMP | ||
dependencyOwner: onsi | ||
dependencyRepo: ginkgo | ||
dependencyTag: v2.5.0 | ||
- type: NON_USER_FACING | ||
description: | | ||
- Upgrade to go 1.18 | ||
- type: BREAKING_CHANGE | ||
description: Bump to Ginkgo v2, which will break projects using anyvendor and Ginkgo v1 | ||
issueLink: https://github.com/solo-io/dev-portal/issues/2613 | ||
resolvesIssue: false |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
#!/bin/bash | ||
|
||
# Make sure the minor Go version that we are running matches the version specified in go.mod | ||
goVersion=$(go version | # looks something like "go version go1.20.1 darwin/amd64" | ||
awk '{print $3}' | # get the 3rd word -> "go1.20.1" | ||
sed "s/go//" ) # remove the "go" part -> "1.20.1" | ||
goModVersion=$(grep -m 1 go go.mod | cut -d' ' -f2) | ||
|
||
if [[ "$goVersion" == "$goModVersion"* ]]; then | ||
echo "Using Go version $goVersion" | ||
else | ||
echo "Your Go version ($goVersion) does not match the version from go.mod ($goModVersion)". | ||
echo "Please update your Go version to $goModVersion and re-run." | ||
exit 1; | ||
fi |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,22 +1,42 @@ | ||
module github.com/solo-io/anyvendor | ||
|
||
go 1.16 | ||
go 1.18 | ||
|
||
require ( | ||
github.com/envoyproxy/protoc-gen-validate v0.6.1 | ||
github.com/go-git/go-git/v5 v5.3.0 | ||
github.com/golang/mock v1.6.0 | ||
github.com/golang/protobuf v1.5.2 | ||
github.com/iancoleman/strcase v0.1.3 // indirect | ||
github.com/lyft/protoc-gen-star v0.5.3 // indirect | ||
github.com/mattn/go-zglob v0.0.3 | ||
github.com/onsi/ginkgo v1.11.0 | ||
github.com/onsi/gomega v1.8.1 | ||
github.com/onsi/ginkgo/v2 v2.5.0 | ||
github.com/onsi/gomega v1.24.0 | ||
github.com/rotisserie/eris v0.1.1 | ||
github.com/spf13/afero v1.6.0 | ||
) | ||
|
||
require ( | ||
github.com/Microsoft/go-winio v0.4.16 // indirect | ||
github.com/emirpasic/gods v1.12.0 // indirect | ||
github.com/go-git/gcfg v1.5.0 // indirect | ||
github.com/go-git/go-billy/v5 v5.1.0 // indirect | ||
github.com/go-logr/logr v1.2.3 // indirect | ||
github.com/google/go-cmp v0.5.9 // indirect | ||
github.com/iancoleman/strcase v0.1.3 // indirect | ||
github.com/imdario/mergo v0.3.12 // indirect | ||
github.com/jbenet/go-context v0.0.0-20150711004518-d14ea06fba99 // indirect | ||
github.com/kevinburke/ssh_config v0.0.0-20201106050909-4977a11b4351 // indirect | ||
github.com/lyft/protoc-gen-star v0.5.3 // indirect | ||
github.com/mitchellh/go-homedir v1.1.0 // indirect | ||
github.com/sergi/go-diff v1.1.0 // indirect | ||
github.com/xanzy/ssh-agent v0.3.0 // indirect | ||
golang.org/x/crypto v0.1.0 // indirect | ||
golang.org/x/lint v0.0.0-20210508222113-6edffad5e616 // indirect | ||
golang.org/x/net v0.0.0-20210614182718-04defd469f4e // indirect | ||
golang.org/x/sys v0.0.0-20210630005230-0f9fa26af87c // indirect | ||
golang.org/x/tools v0.1.4 // indirect | ||
google.golang.org/protobuf v1.27.1 // indirect | ||
golang.org/x/mod v0.6.0 // indirect | ||
golang.org/x/net v0.1.0 // indirect | ||
golang.org/x/sys v0.5.0 // indirect | ||
golang.org/x/text v0.4.0 // indirect | ||
golang.org/x/tools v0.2.0 // indirect | ||
google.golang.org/protobuf v1.28.0 // indirect | ||
gopkg.in/warnings.v0 v0.1.2 // indirect | ||
gopkg.in/yaml.v3 v3.0.1 // indirect | ||
) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.