-
Notifications
You must be signed in to change notification settings - Fork 137
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
Upgrade to Go 1.18 #232
Upgrade to Go 1.18 #232
Conversation
Co-authored-by: George L. Yermulnik <[email protected]>
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.
LGTM
@warrensbox Please review when you get a chance to.
Following up from @warrensbox's email. @yermulnik are you able to merge this? |
Yep, I do. And am going to w.r.t. this PR. Gimme a min.
Sounds good for me. Though since I'm not quite good with Golang, I'd prefer a 2nd opinion for Golang bits. Same for large PRs as sometimes I don't have enough time and expertise to deep dive into details 😢 |
@jukie Any idea why this broke CircelCI build? https://app.circleci.com/pipelines/github/warrensbox/terraform-switcher/408/workflows/c20ce45c-f4ef-4dbf-891f-d75870362edb/jobs/1225 I'm going to revert 1b35962 to see whether this is going to fix the build. |
@yermulnik the |
@jukie Thanks. I'm still online so can merge once it's ready. |
@yermulnik Added here: #235 |
@@ -5,7 +5,7 @@ version: 2.1 | |||
jobs: | |||
build: | |||
docker: | |||
- image: circleci/golang:1.16 | |||
- image: cimg/go:1.18 | |||
|
|||
working_directory: /go/src/github.com/warrensbox/terraform-switcher |
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.
The working directory is not right here:
In the previous version, it was /go/
for image: circleci/golang:1.16
It should be /home/circleci/go
for the new image: cimg/go:1.18
* Automate binary tests from test-data directory (#234) * Upgrade to Go 1.18 (#232) * Upgrade to Go 1.18 * Fix image ref * Fix git endpoint * Fix CircleCI workflow * Update Makefile Co-authored-by: George L. Yermulnik <[email protected]> * Fix makefile Co-authored-by: George L. Yermulnik <[email protected]> * Upgrade to Go 1.18 * Fix image ref * Fix working directory Co-authored-by: George L. Yermulnik <[email protected]> Co-authored-by: Warren Veerasingam <[email protected]>
* Upgrade to Go 1.18 * Fix image ref * Fix git endpoint * Fix CircleCI workflow * Update Makefile Co-authored-by: George L. Yermulnik <[email protected]> * Fix makefile Co-authored-by: George L. Yermulnik <[email protected]>
Bumping the project to go 1.18
Tested locally and things are functioning still.