Skip to content

Remove all version pins from tidy.yml & go.mod#80

Merged
2dust merged 2 commits into2dust:masterfrom
YoohPH:master
Feb 24, 2026
Merged

Remove all version pins from tidy.yml & go.mod#80
2dust merged 2 commits into2dust:masterfrom
YoohPH:master

Conversation

@YoohPH
Copy link
Contributor

@YoohPH YoohPH commented Feb 21, 2026

chore(deps): unpin dependencies in go.mod & simplify tidy workflow

  • Remove replace directives for gvisor, grpc, quic-go, qpack
  • Update tidy.yml to sync Go version from v2ray-core and use plain go mod tidy
  • Allows cleaner upstream module pulls from v2ray-core without forced local versions

@YoohPH YoohPH changed the title Remove all version pins from the lock file Remove all version pins from tidy.yml & go.mod Feb 21, 2026
@2dust 2dust requested a review from Copilot February 22, 2026 03:14
Copy link
Contributor

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 pull request removes version pinning from both the GitHub workflow and go.mod file, allowing dependencies to be resolved automatically based on v2ray-core's requirements. The changes simplify the dependency update process by eliminating hardcoded replace directives and streamlining the automated update workflow.

Changes:

  • Removed all replace directives that pinned gvisor, grpc, quic-go, and qpack to specific versions
  • Simplified the tidy.yml workflow to sync Go version from upstream and update only v2ray-core directly
  • Updated dependencies to newer pseudo-versions, with Go version bumped from 1.25.1 to 1.25.5

Reviewed changes

Copilot reviewed 2 out of 3 changed files in this pull request and generated 4 comments.

File Description
go.mod Removed replace directives for gvisor, grpc, quic-go, and qpack; updated Go version and all dependency pseudo-versions
.github/workflows/tidy.yml Simplified update process to sync Go version from upstream and rely on go mod tidy for dependency resolution

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
@YoohPH
Copy link
Contributor Author

YoohPH commented Feb 22, 2026

tidy.yml is adapted from AndroidLibXrayLite@(.github/workflows/tidy.yml)

and change the xtls/xray-core into v2fly/v2ray-core

@2dust 2dust merged commit 5a24dfc into 2dust:master Feb 24, 2026
1 check passed
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.

3 participants