mirror of
https://github.com/bolucat/Archive.git
synced 2025-12-24 13:28:37 +08:00
Update On Sat Aug 30 20:36:36 CEST 2025
This commit is contained in:
6
v2ray-core/.github/workflows/release.yml
vendored
6
v2ray-core/.github/workflows/release.yml
vendored
@@ -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
|
||||
|
||||
5
v2ray-core/.github/workflows/stale.yml
vendored
5
v2ray-core/.github/workflows/stale.yml
vendored
@@ -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"
|
||||
|
||||
@@ -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
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user