Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
28 changes: 11 additions & 17 deletions .github/workflows/tidy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -53,33 +53,27 @@ jobs:
with:
go-version: 'stable'

- name: Update dependencies excluding gvisor and grpc
- name: Update and commit changes
if: env.needs_update == 'true'
run: |
# Lock gvisor version to a specific revision
go mod edit -replace=gvisor.dev/gvisor=gvisor.dev/gvisor@v0.0.0-20231020174304-b8a429915ff1

# Lock qpack version to a specific revision
go mod edit -replace=github.com/quic-go/qpack=github.com/quic-go/qpack@v0.5.1

# Lock quic-go version to a specific revision
go mod edit -replace=github.com/quic-go/quic-go=github.com/quic-go/quic-go@v0.56.0

# Lock grpc version to a specific revision
go mod edit -replace=google.golang.org/grpc=google.golang.org/grpc@v1.66.3
# Sync Go version from upstream go.mod
EXTERNAL_REPO="v2fly/v2ray-core"
GO_VERSION=$(curl -s https://raw.githubusercontent.com/$EXTERNAL_REPO/${{ env.LATEST_TAG_NAME }}/go.mod | awk '/^go / {print $2; exit}')
if [ -n "$GO_VERSION" ]; then
echo "Syncing Go version to $GO_VERSION"
go mod edit -go=$GO_VERSION
else
echo "Failed to detect Go version from upstream go.mod"
fi

# Update specific dependency
go get github.com/v2fly/v2ray-core/v5@${{ env.LATEST_TAG_NAME }}

# Update all other dependencies
go get -u
go get gvisor.dev/gvisor@go

# Clean up and verify module dependencies
go mod tidy -v

# Show changes
git diff

- name: Commit and push changes
id: auto-commit-action
if: env.needs_update == 'true'
Expand Down
32 changes: 12 additions & 20 deletions go.mod
Original file line number Diff line number Diff line change
@@ -1,44 +1,41 @@
module github.com/2dust/AndroidLibV2rayLite

go 1.25.1
go 1.25.5

require (
github.com/v2fly/v2ray-core/v5 v5.45.1
golang.org/x/mobile v0.0.0-20260211191516-dcd2a3258864
github.com/v2fly/v2ray-core/v5 v5.46.0
golang.org/x/mobile v0.0.0-20260217195705-b56b3793a9c4
)

require github.com/pion/transport/v3 v3.1.1 // indirect

require (
github.com/Masterminds/semver/v3 v3.4.0 // indirect
github.com/adrg/xdg v0.5.3 // indirect
github.com/aead/cmac v0.0.0-20160719120800-7af84192f0b1 // indirect
github.com/andybalholm/brotli v1.2.0 // indirect
github.com/apernet/quic-go v0.48.2-0.20241104191913-cb103fcecfe7 // indirect
github.com/apernet/quic-go v0.59.1-0.20260217092621-db4786c77a22 // indirect
github.com/boljen/go-bitmap v0.0.0-20151001105940-23cd2fb0ce7d // indirect
github.com/cenkalti/backoff/v4 v4.3.0 // indirect
github.com/davecgh/go-spew v1.1.1 // indirect
github.com/desertbit/timer v1.0.1 // indirect
github.com/dgryski/go-metro v0.0.0-20250106013310-edb8663e5e33 // indirect
github.com/ebfe/bcrypt_pbkdf v0.0.0-20140212075826-3c8d2dcb253a // indirect
github.com/go-task/slim-sprig/v3 v3.0.0 // indirect
github.com/golang-collections/go-datastructures v0.0.0-20150211160725-59788d5eb259 // indirect
github.com/golang/protobuf v1.5.4 // indirect
github.com/google/btree v1.1.3 // indirect
github.com/google/gopacket v1.1.19 // indirect
github.com/google/pprof v0.0.0-20260202012954-cb029daf43ef // indirect
github.com/gorilla/websocket v1.5.3 // indirect
github.com/improbable-eng/grpc-web v0.15.0 // indirect
github.com/jhump/protoreflect v1.18.0 // indirect
github.com/jhump/protoreflect/v2 v2.0.0-beta.2 // indirect
github.com/klauspost/compress v1.18.4 // indirect
github.com/klauspost/cpuid/v2 v2.3.0 // indirect
github.com/klauspost/reedsolomon v1.13.2 // indirect
github.com/kr/text v0.2.0 // indirect
github.com/lunixbochs/struc v0.0.0-20241101090106-8d528fa2c543 // indirect
github.com/miekg/dns v1.1.72 // indirect
github.com/mustafaturan/bus v1.0.2 // indirect
github.com/mustafaturan/monoton v1.0.0 // indirect
github.com/onsi/ginkgo/v2 v2.28.1 // indirect
github.com/patrickmn/go-cache v2.1.0+incompatible // indirect
github.com/pelletier/go-toml v1.9.5 // indirect
github.com/pion/dtls/v2 v2.2.12 // indirect
Expand All @@ -53,14 +50,15 @@ require (
github.com/quic-go/quic-go v0.59.0 // indirect
github.com/refraction-networking/utls v1.8.2 // indirect
github.com/riobard/go-bloom v0.0.0-20200614022211-cdc8013cb5b3 // indirect
github.com/rogpeppe/go-internal v1.13.1 // indirect
github.com/rs/cors v1.11.1 // indirect
github.com/secure-io/siv-go v0.0.0-20180922214919-5ff40651e2c4 // indirect
github.com/seiflotfy/cuckoofilter v0.0.0-20240715131351-a2f2c23f1771 // indirect
github.com/stretchr/objx v0.5.3 // indirect
github.com/stretchr/testify v1.11.1 // indirect
github.com/v2fly/BrowserBridge v0.0.0-20210430233438-0570fc1d7d08 // indirect
github.com/v2fly/VSign v0.0.0-20201108000810-e2adc24bf848 // indirect
github.com/v2fly/hysteria/core/v2 v2.0.0-20250113081444-b0a0747ac7ab // indirect
github.com/v2fly/hysteria/core/v2 v2.0.0-20260220231229-39018a43855e // indirect
github.com/v2fly/ss-bloomring v0.0.0-20210312155135-28617310f63e // indirect
github.com/v2fly/struc v0.0.0-20241227015403-8e8fa1badfd6 // indirect
github.com/vincent-petithory/dataurl v1.0.0 // indirect
Expand All @@ -70,27 +68,21 @@ require (
go.uber.org/mock v0.6.0 // indirect
go4.org/netipx v0.0.0-20231129151722-fdeea329fbba // indirect
golang.org/x/crypto v0.48.0 // indirect
golang.org/x/exp v0.0.0-20260212183809-81e46e3db34a // indirect
golang.org/x/exp v0.0.0-20260218203240-3dfff04db8fa // indirect
golang.org/x/mod v0.33.0 // indirect
golang.org/x/net v0.50.0 // indirect
golang.org/x/sync v0.19.0 // indirect
golang.org/x/sys v0.41.0 // indirect
golang.org/x/text v0.34.0 // indirect
golang.org/x/time v0.14.0 // indirect
golang.org/x/tools v0.42.0 // indirect
google.golang.org/genproto/googleapis/rpc v0.0.0-20260209200024-4cfbd4190f57 // indirect
golang.zx2c4.com/wintun v0.0.0-20230126152724-0fa3db229ce2 // indirect
golang.zx2c4.com/wireguard v0.0.0-20250521234502-f333402bd9cb // indirect
google.golang.org/genproto/googleapis/rpc v0.0.0-20260217215200-42d3e9bedb6d // indirect
google.golang.org/grpc v1.79.1 // indirect
google.golang.org/protobuf v1.36.11 // indirect
gopkg.in/yaml.v3 v3.0.1 // indirect
gvisor.dev/gvisor v0.0.0-20260213200628-444f74c20034 // indirect
gvisor.dev/gvisor v0.0.0-20260220231412-fe30adbe8e25 // indirect
lukechampine.com/blake3 v1.4.1 // indirect
nhooyr.io/websocket v1.8.17 // indirect
)

replace google.golang.org/grpc => google.golang.org/grpc v1.66.3

replace gvisor.dev/gvisor => gvisor.dev/gvisor v0.0.0-20231020174304-b8a429915ff1

replace github.com/quic-go/qpack => github.com/quic-go/qpack v0.5.1

replace github.com/quic-go/quic-go => github.com/quic-go/quic-go v0.56.0
Loading