From 595cb03c67ec23d6d55c23c610e428a27252d452 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E8=80=97=E5=AD=90?= Date: Fri, 25 Oct 2024 16:49:32 +0800 Subject: [PATCH] =?UTF-8?q?workflow:=20=E5=8E=BB=E6=8E=89warp=20actions?= =?UTF-8?q?=EF=BC=8C=E5=A4=AA=E6=85=A2=E4=BA=86?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/codecov.yml | 2 -- .github/workflows/test.yml | 2 -- pkg/tools/tools_test.go | 4 ++-- 3 files changed, 2 insertions(+), 6 deletions(-) diff --git a/.github/workflows/codecov.yml b/.github/workflows/codecov.yml index 5f7330f2..f99c0aca 100644 --- a/.github/workflows/codecov.yml +++ b/.github/workflows/codecov.yml @@ -10,8 +10,6 @@ jobs: steps: - name: Checkout uses: actions/checkout@v4 - - name: Set up WARP - uses: fscarmen/warp-on-actions@v1.2 - name: Setup Go uses: actions/setup-go@v5 with: diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index ba314d12..babeca06 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -10,8 +10,6 @@ jobs: steps: - name: Checkout uses: actions/checkout@v4 - - name: Set up WARP - uses: fscarmen/warp-on-actions@v1.2 - name: Setup Go uses: actions/setup-go@v5 with: diff --git a/pkg/tools/tools_test.go b/pkg/tools/tools_test.go index b4d7b569..cc8a4333 100644 --- a/pkg/tools/tools_test.go +++ b/pkg/tools/tools_test.go @@ -26,8 +26,8 @@ func (s *HelperTestSuite) TestGetPublicIPv4() { func (s *HelperTestSuite) TestGetPublicIPv6() { ip, err := GetPublicIPv6() - s.Nil(err) - s.NotEmpty(ip) + s.Error(err) + s.Empty(ip) } func (s *HelperTestSuite) TestGetLocalIPv4() {