From d8148ff279ec39bbe1a561cc0c619b527013700f Mon Sep 17 00:00:00 2001 From: spiritlhl <103393591+spiritLHLS@users.noreply.github.com> Date: Sun, 2 Nov 2025 14:04:12 +0000 Subject: [PATCH] =?UTF-8?q?fix=EF=BC=9A=E5=88=A0=E9=99=A4=E6=97=A0?= =?UTF-8?q?=E6=95=88=E6=B5=8B=E8=AF=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/ci.yaml | 7 +++++-- model/model.go | 3 ++- 2 files changed, 7 insertions(+), 3 deletions(-) diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index 10970c9..fe5acf3 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -20,14 +20,17 @@ jobs: go-version: ${{ matrix.go }} - name: Test - run: go test ./... -coverprofile=coverage.txt + run: | + # Run all tests without generating a combined coverage profile + set -euo pipefail + go test ./... - name: Create Tag if: success() run: | git config --global user.name 'github-actions' git config --global user.email 'github-actions@github.com' - TAG="v0.0.7-$(date +'%Y%m%d%H%M%S')" + TAG="v0.0.8-$(date +'%Y%m%d%H%M%S')" git tag $TAG git push origin $TAG echo "TAG=$TAG" >> $GITHUB_ENV diff --git a/model/model.go b/model/model.go index e1762f6..ff09144 100644 --- a/model/model.go +++ b/model/model.go @@ -2,7 +2,7 @@ package model import "time" -const BackTraceVersion = "v0.0.7" +const BackTraceVersion = "v0.0.8" var EnableLoger = false @@ -17,6 +17,7 @@ type IcmpTarget struct { var ( IcmpTargets = "https://raw.githubusercontent.com/spiritLHLS/icmp_targets/main/nodes.json" CdnList = []string{ + "https://cdn.spiritlhl.net/", "http://cdn1.spiritlhl.net/", "http://cdn2.spiritlhl.net/", "http://cdn3.spiritlhl.net/",