Update On Sat Aug 30 20:36:36 CEST 2025

This commit is contained in:
github-action[bot]
2025-08-30 20:36:37 +02:00
parent 8245d77671
commit f1fd237cba
169 changed files with 80261 additions and 82484 deletions

View File

@@ -14,14 +14,14 @@ on:
- "**/*.go"
- "go.mod"
- "go.sum"
- ".github/workflows/*.yml"
- ".github/workflows/release.yml"
pull_request:
types: [opened, synchronize, reopened]
paths:
- "**/*.go"
- "go.mod"
- "go.sum"
- ".github/workflows/*.yml"
- ".github/workflows/release.yml"
jobs:
build:
@@ -105,7 +105,7 @@ jobs:
pie: pie
- goos: linux
goarch: amd64
pie:
pie:
# END MIPS
# END Other architectures
fail-fast: false

View File

@@ -12,8 +12,7 @@ jobs:
with:
repo-token: ${{ secrets.GITHUB_TOKEN }}
stale-issue-message: "This issue is stale because it has been open 120 days with no activity. Remove stale label or comment or this will be closed in 5 days"
stale-pr-message: 'It has been open 120 days with no activity. Remove stale label or comment or this will be closed in 5 days'
stale-pr-message: "It has been open 120 days with no activity. Remove stale label or comment or this will be closed in 5 days"
days-before-stale: 120
days-before-close: 5
exempt-pr-labels: 'planned'
exempt-pr-labels: 'planned'
exempt-pr-labels: "planned"

View File

@@ -18,13 +18,13 @@ import (
)
func init() {
const geoipURL = "https://raw.githubusercontent.com/v2fly/geoip/release/geoip.dat"
const geoipURL = "https://github.com/v2fly/geoip/releases/download/202507050144/geoip.dat"
wd, err := os.Getwd()
common.Must(err)
tempPath := filepath.Join(wd, "..", "..", "testing", "temp")
geoipPath := filepath.Join(tempPath, "geoip.dat")
geoipPath := filepath.Join(tempPath, "geoip-202507050144.dat")
os.Setenv("v2ray.location.asset", tempPath)
@@ -196,7 +196,7 @@ func TestGeoIPMatcher6US(t *testing.T) {
}
func loadGeoIP(country string) ([]*routercommon.CIDR, error) {
geoipBytes, err := filesystem.ReadAsset("geoip.dat")
geoipBytes, err := filesystem.ReadAsset("geoip-202507050144.dat")
if err != nil {
return nil, err
}