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

Update Golang to v1.20 for main branch. #6158

Merged
merged 1 commit into from
Apr 18, 2023

Conversation

blackpiglet
Copy link
Contributor

@blackpiglet blackpiglet commented Apr 17, 2023

Thank you for contributing to Velero!

Please add a summary of your change

Due to actions/setup-python's limitation, golang's version 1.20 is parsed into 1.2. Need to use '1.20' instead.
actions/setup-go#326 (comment)

Does your change fix a particular issue?

Fixes #(issue)

Please indicate you've done the following:

  • Accepted the DCO. Commits without the DCO will delay acceptance.
  • Created a changelog file or added /kind changelog-not-required as a comment on this pull request.
  • Updated the corresponding documentation in site/content/docs/main.

@codecov-commenter
Copy link

codecov-commenter commented Apr 17, 2023

Codecov Report

Merging #6158 (0be3f5a) into main (65f99c1) will increase coverage by 0.02%.
The diff coverage is n/a.

@@            Coverage Diff             @@
##             main    #6158      +/-   ##
==========================================
+ Coverage   41.28%   41.31%   +0.02%     
==========================================
  Files         251      251              
  Lines       23399    23402       +3     
==========================================
+ Hits         9661     9669       +8     
+ Misses      12979    12975       -4     
+ Partials      759      758       -1     

see 1 file with indirect coverage changes

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

@@ -12,7 +12,7 @@
# See the License for the specific language governing permissions and
# limitations under the License.

FROM --platform=linux/amd64 golang:1.19-bullseye
FROM --platform=linux/amd64 golang:1.20-bullseye
Copy link
Contributor

Choose a reason for hiding this comment

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

Any chance you can cherrypick changes from #6085 into this PR?

Copy link
Contributor

Choose a reason for hiding this comment

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

or I guess merge that then rebase this.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

I prefer to keep the changes in separate PRs.

Signed-off-by: Xun Jiang <blackpiglet@gmail.com>
@blackpiglet blackpiglet marked this pull request as ready for review April 17, 2023 07:32
@blackpiglet blackpiglet merged commit 6b67504 into vmware-tanzu:main Apr 18, 2023
26 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

5 participants