-
Notifications
You must be signed in to change notification settings - Fork 16
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
Clean GHA workflow files #27
base: master
Are you sure you want to change the base?
Conversation
- letting golangci-lint pull latest even if the code isn't tested against that version is causing lint issues. - fixing the versions will allow us to test both before we allow support for newer go versions
5ab72fc
to
8900cf1
Compare
go.mod
Outdated
@@ -3,6 +3,10 @@ module github.com/zerofox-oss/go-aws-msg | |||
go 1.12 | |||
|
|||
require ( | |||
github.com/aws/aws-sdk-go v1.44.199 |
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.
Something in this update breaks tests
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.
v1.45 is fine
% go get -u github.com/aws/[email protected]
% go test ./...
? github.com/zerofox-oss/go-aws-msg [no test files]
? github.com/zerofox-oss/go-aws-msg/retryer [no test files]
ok github.com/zerofox-oss/go-aws-msg/sns 28.781s
ok github.com/zerofox-oss/go-aws-msg/sqs 16.996s
v1.46 is also fine
% go get -u github.com/aws/[email protected]
% go test ./...
? github.com/zerofox-oss/go-aws-msg [no test files]
? github.com/zerofox-oss/go-aws-msg/retryer [no test files]
ok github.com/zerofox-oss/go-aws-msg/sns 28.767s
ok github.com/zerofox-oss/go-aws-msg/sqs 16.984s
v1.47 is where it happens
% go get -u github.com/aws/[email protected]
% go test ./...
FAIL
FAIL github.com/zerofox-oss/go-aws-msg/sqs 16.749s
FAIL
Looking more into this...
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.
JK, so existing tests on GHA don't show the failure because they aren't running with the -race
flag. When I add it, it is broken on master.
Going to repurpose this PR for cleaning up the GHA workflow files.
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.
Nice one @Xopherus
No description provided.