From 1deca2c816d944c0d7a30cfe00cc541e6bfe31ca Mon Sep 17 00:00:00 2001 From: database64128 Date: Fri, 30 Aug 2024 19:40:16 +0800 Subject: [PATCH] =?UTF-8?q?=F0=9F=8F=97=EF=B8=8F=20gh-actions:=20test=20wi?= =?UTF-8?q?th=20tag=20tfogo=5Fchecklinkname0=20on=20stable=20go?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Remove the condition once go1.23 becomes 'oldstable'. --- .github/workflows/test.yml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index b44bb03..23efbff 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -32,3 +32,7 @@ jobs: - name: Test run: go test -v + + - name: Test with tag tfogo_checklinkname0 + if: matrix.go-version == 'stable' + run: go test -v -ldflags '-checklinkname=0' -tags tfogo_checklinkname0