Skip to content
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

Build(go, deps): switch to Go 1.18 and update modules #940

Merged
merged 5 commits into from
Jun 4, 2023

Conversation

gen2thomas
Copy link
Collaborator

@gen2thomas gen2thomas commented May 29, 2023

Solved issues and/or description of the change

Update to a newer Go version 1.18, because gobot use the most recent version-2, see #919 .

Fix linter finding in nats-tests:
SA1019: o.TLSConfig.RootCAs.Subjects has been deprecated since Go 1.18: if s was returned by SystemCertPool, Subjects will not include the system roots. (staticcheck)

Manual test

Linux

Checklist

  • The PR's target branch is 'hybridgroup:dev'
  • New and existing unit tests pass locally with my changes (e.g. by run make test)
  • No linter errors exist locally (e.g. by run make fmt_check)
  • I have performed a self-review of my own code

Bumps [github.com/stretchr/testify](https://github.com/stretchr/testify) from 1.8.0 to 1.8.3.
- [Release notes](https://github.com/stretchr/testify/releases)
- [Commits](stretchr/testify@v1.8.0...v1.8.3)

---
updated-dependencies:
- dependency-name: github.com/stretchr/testify
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
go.mod Show resolved Hide resolved
go.mod Outdated Show resolved Hide resolved
@gen2thomas gen2thomas marked this pull request as ready for review June 1, 2023 17:42
@gen2thomas
Copy link
Collaborator Author

Hi @gedw99, please could you have a look at this PR for the changed nats parts in test.

Thanks, Thomas

@gedw99
Copy link

gedw99 commented Jun 2, 2023

Hi @gedw99, please could you have a look at this PR for the changed nats parts in test.

Thanks, Thomas

what exactly do you want me to concentrate on ? I guess this is a response to the email i sent you ?

@gen2thomas
Copy link
Collaborator Author

Hi @gedw99 , there were some changes between "github.com/nats-io/nats.go v1.25.0" and "v1.26.0", which results in failing related tests at gobot. So I changed some test code after a static review of the changes in "nats.go", without any knowledge of NATS in general. As far as I can see it is related to certificate handling.

I had zero experience with NATS before this change. Than I remembered your email and it would be nice if you could take a look at it. Maybe the 3 tests are now useless after my change or tests the wrong part of code.

Thanks Thomas

@gedw99
Copy link

gedw99 commented Jun 4, 2023

ok understand - I just cant right now. totally loaded up.

will be happy to help later but just cant not.

@gen2thomas
Copy link
Collaborator Author

gen2thomas commented Jun 4, 2023

I just cant right now

Thanks for your fast response, so I simply merge this PR, because there were no changes in productive code. One can then also make the improvements sometime later in a separate PR.

@gen2thomas gen2thomas merged commit ac849e7 into hybridgroup:dev Jun 4, 2023
@gen2thomas gen2thomas deleted the feature/go_118 branch June 4, 2023 12:13
gen2thomas added a commit to gen2thomas/gobot that referenced this pull request Jul 6, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants