-
Notifications
You must be signed in to change notification settings - Fork 141
Upgrade internal/tools go module for x/tools and mockery #1421
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
Merged
+464
−513
Merged
Changes from all commits
Commits
Show all changes
14 commits
Select commit
Hold shift + click to select a range
992747d
Upgrade internal/tools go module for x/tools and mockery
Groxx 1d0624a
update changelog
Groxx 9193495
force a check for go 1.21, speed up validate as it does not need tests
Groxx 98437c7
misunderstood that compose instruction, undoing
Groxx 0596f6f
forcing a go.mod-based build check
Groxx d2cf457
remove extra build step
Groxx de93533
update codecov version
Groxx cd25163
ci uses /bin/sh not /bin/bash
Groxx db8af5c
add missing -e
Groxx 1a391db
re-break /bin/sh temporarilyg
Groxx 4609957
try harder to break things
Groxx d0ea7d5
fix syntax for /bin/sh
Groxx d933d53
break 1.21 temporarily=
Groxx 815d0c2
fixed, verified
Groxx File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or 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 hidden or 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 hidden or 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 hidden or 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,4 +1,4 @@ | ||
FROM golang:1.21 | ||
FROM golang:1.24 | ||
|
||
RUN mkdir -p /go/src/go.uber.org/cadence | ||
WORKDIR /go/src/go.uber.org/cadence | ||
|
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains hidden or 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,65 +1,66 @@ | ||
module go.uber.org/cadence/internal/tools | ||
|
||
go 1.21 | ||
go 1.23.0 | ||
|
||
toolchain go1.24.2 | ||
|
||
require ( | ||
github.com/kisielk/errcheck v1.6.3 | ||
github.com/mattn/goveralls v0.0.11 | ||
github.com/mgechev/revive v1.2.5 | ||
// last used version, would likely be good to upgrade if possible | ||
github.com/vektra/mockery/v2 v2.16.0 | ||
github.com/vektra/mockery/v2 v2.53.3 | ||
go.uber.org/thriftrw v1.25.0 | ||
go.uber.org/yarpc v1.55.0 | ||
golang.org/x/tools v0.21.0 | ||
golang.org/x/tools v0.32.0 | ||
honnef.co/go/tools v0.4.0 | ||
) | ||
|
||
require ( | ||
github.com/BurntSushi/toml v1.2.1 // indirect | ||
github.com/anmitsu/go-shlex v0.0.0-20161002113705-648efa622239 // indirect | ||
github.com/chavacava/garif v0.0.0-20221024190013-b3ef35877348 // indirect | ||
github.com/chigopher/pathlib v0.12.0 // indirect | ||
github.com/chigopher/pathlib v0.19.1 // indirect | ||
github.com/fatih/color v1.14.1 // indirect | ||
github.com/fatih/structtag v1.2.0 // indirect | ||
github.com/fsnotify/fsnotify v1.5.4 // indirect | ||
github.com/fsnotify/fsnotify v1.8.0 // indirect | ||
github.com/go-viper/mapstructure/v2 v2.2.1 // indirect | ||
github.com/golang/mock v1.5.0 // indirect | ||
github.com/hashicorp/hcl v1.0.0 // indirect | ||
github.com/inconshreveable/mousetrap v1.0.0 // indirect | ||
github.com/huandu/xstrings v1.4.0 // indirect | ||
github.com/iancoleman/strcase v0.3.0 // indirect | ||
github.com/inconshreveable/mousetrap v1.1.0 // indirect | ||
github.com/jessevdk/go-flags v1.4.0 // indirect | ||
github.com/magiconair/properties v1.8.6 // indirect | ||
github.com/mattn/go-colorable v0.1.13 // indirect | ||
github.com/mattn/go-isatty v0.0.17 // indirect | ||
github.com/jinzhu/copier v0.4.0 // indirect | ||
github.com/mattn/go-colorable v0.1.14 // indirect | ||
github.com/mattn/go-isatty v0.0.20 // indirect | ||
github.com/mattn/go-runewidth v0.0.14 // indirect | ||
github.com/mgechev/dots v0.0.0-20210922191527-e955255bf517 // indirect | ||
github.com/mitchellh/go-homedir v1.1.0 // indirect | ||
github.com/mitchellh/mapstructure v1.5.0 // indirect | ||
github.com/olekukonko/tablewriter v0.0.5 // indirect | ||
github.com/pelletier/go-toml v1.9.5 // indirect | ||
github.com/pelletier/go-toml/v2 v2.0.2 // indirect | ||
github.com/pelletier/go-toml/v2 v2.2.3 // indirect | ||
github.com/pkg/errors v0.9.1 // indirect | ||
github.com/rivo/uniseg v0.4.3 // indirect | ||
github.com/rs/zerolog v1.27.0 // indirect | ||
github.com/spf13/afero v1.8.2 // indirect | ||
github.com/spf13/cast v1.5.0 // indirect | ||
github.com/spf13/cobra v1.4.0 // indirect | ||
github.com/spf13/jwalterweatherman v1.1.0 // indirect | ||
github.com/spf13/pflag v1.0.5 // indirect | ||
github.com/spf13/viper v1.12.0 // indirect | ||
github.com/subosito/gotenv v1.4.0 // indirect | ||
github.com/rs/zerolog v1.33.0 // indirect | ||
github.com/sagikazarmark/locafero v0.7.0 // indirect | ||
github.com/sourcegraph/conc v0.3.0 // indirect | ||
github.com/spf13/afero v1.12.0 // indirect | ||
github.com/spf13/cast v1.7.1 // indirect | ||
github.com/spf13/cobra v1.8.1 // indirect | ||
github.com/spf13/pflag v1.0.6 // indirect | ||
github.com/spf13/viper v1.20.0 // indirect | ||
github.com/subosito/gotenv v1.6.0 // indirect | ||
github.com/uber/tchannel-go v1.32.1 // indirect | ||
go.uber.org/atomic v1.9.0 // indirect | ||
go.uber.org/fx v1.13.1 // indirect | ||
go.uber.org/multierr v1.6.0 // indirect | ||
go.uber.org/multierr v1.11.0 // indirect | ||
go.uber.org/zap v1.17.0 // indirect | ||
golang.org/x/crypto v0.0.0-20220525230936-793ad666bf5e // indirect | ||
golang.org/x/exp/typeparams v0.0.0-20230203172020-98cc5a0785f9 // indirect | ||
golang.org/x/mod v0.17.0 // indirect | ||
golang.org/x/sync v0.7.0 // indirect | ||
golang.org/x/sys v0.20.0 // indirect | ||
golang.org/x/term v0.0.0-20220526004731-065cf7ba2467 // indirect | ||
golang.org/x/text v0.6.0 // indirect | ||
gopkg.in/check.v1 v1.0.0-20200227125254-8fa46927fb4f // indirect | ||
gopkg.in/ini.v1 v1.66.6 // indirect | ||
golang.org/x/mod v0.24.0 // indirect | ||
golang.org/x/sync v0.13.0 // indirect | ||
golang.org/x/sys v0.32.0 // indirect | ||
golang.org/x/term v0.29.0 // indirect | ||
golang.org/x/text v0.22.0 // indirect | ||
gopkg.in/yaml.v2 v2.4.0 // indirect | ||
gopkg.in/yaml.v3 v3.0.1 // indirect | ||
) |
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
so this was the source of some rather disturbing TILs:
Apparently syntax errors are (sometimes) not script failures, even with
set -e
.And
sh
does not support[[
, so it was printing an error and continuing without erroring. CI usessh
, locally we generally get bash or zsh.Madness. Absolute madness. This is going to haunt me for a while, unless I can find a way to prevent it (without shellcheck).