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

fix:Go-VersionUpgrade to Go 1.23 #575 #577

Closed

Conversation

Swastik-Swarup-Dash
Copy link
Contributor

@Swastik-Swarup-Dash Swastik-Swarup-Dash commented Jan 1, 2025

Signed-off-by: Swastik Swarup Dash [email protected]
Go 1.21 -> Go 1.23

Copy link

welcome bot commented Jan 1, 2025

Yay, your first pull request! 👍 A contributor will be by to give feedback soon. In the meantime, please review the Layer5 Community Welcome Guide and sure to join the community Slack.
Be sure to double-check that you have signed your commits. Here are instructions for making signing an implicit activity while peforming a commit.

@Swastik-Swarup-Dash Swastik-Swarup-Dash changed the title fix:Go-VersionUpgrade to Go 1.23 #575 fix:Go-VersionUpgrade to Go 1.23 #575 Signed-off-by: Swastik Swarup Dash <[email protected]> Jan 1, 2025
@Swastik-Swarup-Dash Swastik-Swarup-Dash changed the title fix:Go-VersionUpgrade to Go 1.23 #575 Signed-off-by: Swastik Swarup Dash <[email protected]> fix:Go-VersionUpgrade to Go 1.23 #575 Jan 1, 2025
@leecalcote leecalcote requested a review from devhindo January 1, 2025 20:13
@leecalcote leecalcote added language/go Golang related issue/dco Commit sign-off instructions labels Jan 1, 2025
Copy link

github-actions bot commented Jan 1, 2025

🚨 Alert! Git Police! We couldn’t help but notice that one or more of your commits is missing a sign-off. A what? A commit sign-off (your email address).

To amend the commits in this PR with your signoff using the instructions provided in the DCO check above.

To configure your dev environment to automatically signoff on your commits in the future, see these instructions.


        Be sure to join the community, if you haven't yet and please leave a ⭐ star on the project 😄

Copy link
Member

@leecalcote leecalcote left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is missing an updated go.sum. Be sure that you have built the project, @Swastik-Swarup-Dash, and that it's functional.

Copy link
Member

@devhindo devhindo left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

  • perform a go mod tidy
  • make sure the project builds successfully
  • update the workflows that specifies go version under .github folder
  • review the Makefile to ensure it's compatible with the new Go version


jobs:
golangci-lint:
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

you messed the indentation of this whole block of code. please restore it back

@@ -2,86 +2,86 @@ name: Meshery-Operator CI

on:
pull_request:
branches: [ master ]
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

no need for removing the space, you should leave the default behavior as it is and only change the number of Go version 1.21 => 1.23
check out this pr https://github.com/meshery/meshery-linkerd/pull/589/files

@@ -2,9 +2,9 @@ name: Meshkit Error Codes Utility Runner
on:
push:
branches:
- 'master'
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this should be left as it is

@@ -2,9 +2,9 @@ name: Meshkit Error Codes Utility Runner
on:
push:
branches:
- 'master'
- "master"
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this should be left as it is

paths:
- '**.go'
- "**.go"
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this should be left as it is

@@ -34,19 +34,19 @@ jobs:
commit_user_name: l5io
commit_user_email: [email protected]
commit_author: ${{ github.actor }} <${{ github.actor }}@users.noreply.github.com>
commit_options: '--signoff'
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

you shouldn't change the existing code



GO_VERSION := 1.23
export GO_VERSION
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

don't change the default behavior

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
issue/dco Commit sign-off instructions language/go Golang related
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants