Skip to content

Conversation

Wwwsylvia
Copy link
Member

What this PR does / why we need it:
Update go version in go mod and GitHub build configs.
Related to #1815

Which issue(s) this PR fixes (optional, in fixes #<issue number>(, fixes #<issue_number>, ...) format, will close the issue(s) when PR gets merged):
Fixes #

Please check the following list:

  • Does the affected code have corresponding tests, e.g. unit test, E2E test?
  • Does this change require a documentation update?
  • Does this introduce breaking changes that would require an announcement or bumping the major version?
  • Do all new files have an appropriate license header?

Signed-off-by: Lixia (Sylvia) Lei <lixlei@microsoft.com>
Copy link
Contributor

@Copilot Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull Request Overview

This PR upgrades the Go version from 1.24.x to 1.25.0 across all configuration files and build environments to keep the project up-to-date with the latest Go release.

  • Updates Go version declarations in go.mod files and go.work
  • Updates Docker base image to use Go 1.25.0
  • Updates GitHub Actions workflows to use Go 1.25
  • Updates Snapcraft build configuration to use Go 1.25

Reviewed Changes

Copilot reviewed 9 out of 9 changed files in this pull request and generated no comments.

Show a summary per file
File Description
go.mod Updates main module Go version to 1.25.0
test/e2e/go.mod Updates e2e test module Go version to 1.25.0
test/e2e/go.work Updates workspace Go version to 1.25.0
Dockerfile Updates base Go image from 1.24.6 to 1.25.0
.github/workflows/build.yml Updates build workflow Go version to 1.25
.github/workflows/codeql-analysis.yml Updates CodeQL workflow Go version to 1.25
.github/workflows/golangci-lint.yml Updates linting workflow Go version to 1.25
.github/workflows/release-github.yml Updates release workflow Go version to 1.25.0
snapcraft.yaml Updates Snapcraft build to use Go 1.25 stable

Tip: Customize your code reviews with copilot-instructions.md. Create the file or learn how to get started.

Copy link

codecov bot commented Aug 20, 2025

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 85.22%. Comparing base (9a135fb) to head (e76be2b).
⚠️ Report is 1 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #1817      +/-   ##
==========================================
- Coverage   85.25%   85.22%   -0.03%     
==========================================
  Files         143      143              
  Lines        6739     6739              
==========================================
- Hits         5745     5743       -2     
- Misses        706      708       +2     
  Partials      288      288              

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@github-advanced-security
Copy link

This pull request sets up GitHub code scanning for this repository. Once the scans have completed and the checks have passed, the analysis results for this pull request branch will appear on this overview. Once you merge this pull request, the 'Security' tab will show more code scanning analysis results (for example, for the default branch). Depending on your configuration and choice of analysis tool, future pull requests will be annotated with code scanning analysis results. For more information about GitHub code scanning, check out the documentation.

Copy link
Contributor

@shizhMSFT shizhMSFT left a comment

Choose a reason for hiding this comment

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

LGTM

@Wwwsylvia Wwwsylvia merged commit e424dc5 into oras-project:main Aug 20, 2025
8 checks passed
@Wwwsylvia Wwwsylvia deleted the go_1.25 branch August 20, 2025 04:57
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