Remove all version pins from tidy.yml & go.mod#80
Merged
2dust merged 2 commits into2dust:masterfrom Feb 24, 2026
Merged
Conversation
Contributor
There was a problem hiding this comment.
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>
Contributor
Author
|
tidy.yml is adapted from AndroidLibXrayLite@(.github/workflows/tidy.yml) and change the xtls/xray-core into v2fly/v2ray-core |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
chore(deps): unpin dependencies in go.mod & simplify tidy workflow