mirror of
https://github.com/MHSanaei/3x-ui.git
synced 2025-04-19 21:42:24 +00:00
Update update-dependencies.yml
This commit is contained in:
parent
27c2488614
commit
e07f444723
1 changed files with 7 additions and 9 deletions
14
.github/workflows/update-dependencies.yml
vendored
14
.github/workflows/update-dependencies.yml
vendored
|
@ -72,17 +72,15 @@ jobs:
|
||||||
set -euo pipefail # Строгий режим для bash
|
set -euo pipefail # Строгий режим для bash
|
||||||
|
|
||||||
echo "Updating standard Go dependencies..."
|
echo "Updating standard Go dependencies..."
|
||||||
go list -f '{{if not (or .Main .Indirect)}}{{.Path}}{{end}}' -m all | \
|
go list -m all | awk '{print $1}' | grep -v 'gvisor.dev/gvisor' | grep -v 'github.com/xtls/xray-core' | xargs -r go get -u=patch
|
||||||
grep -v 'gvisor.dev/gvisor' | \
|
|
||||||
grep -v 'github.com/xtls/xray-core' | \
|
|
||||||
xargs -r go get -u
|
|
||||||
|
|
||||||
echo "Updating Xray-core to release ${{ env.latest_tag }} (Go version: ${{ env.go_version }})"
|
echo "Updating indirect dependencies..."
|
||||||
|
go list -m all | awk '{print $1}' | grep -E 'golang.org/x/|github.com/google/|github.com/dgryski/' | xargs -r go get -u
|
||||||
|
|
||||||
|
echo "Updating Xray-core to release ${{ env.latest_tag }} (commit: ${{ env.commit_hash }})"
|
||||||
go get github.com/xtls/xray-core@${{ env.commit_hash }}
|
go get github.com/xtls/xray-core@${{ env.commit_hash }}
|
||||||
|
|
||||||
echo "Updated Xray-core to:"
|
echo "Cleaning up and verifying..."
|
||||||
go list -m github.com/xtls/xray-core
|
|
||||||
|
|
||||||
go mod tidy
|
go mod tidy
|
||||||
go mod verify || exit 1
|
go mod verify || exit 1
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue