From 2e5ba860d1dfdb737ab13e4e81ecf0114c78818a Mon Sep 17 00:00:00 2001 From: appleboy Date: Tue, 18 Mar 2025 23:11:26 +0800 Subject: [PATCH] test: refactor codebase for improved readability and efficiency - Modify the `test-tags` to be more readable by placing each tag on a separate line - Add `--ldflags="-checklinkname=0"` to the `-tags` parameter for `sonic avx` Signed-off-by: appleboy --- .github/workflows/gin.yml | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/.github/workflows/gin.yml b/.github/workflows/gin.yml index 4552b24e..1062252a 100644 --- a/.github/workflows/gin.yml +++ b/.github/workflows/gin.yml @@ -35,7 +35,13 @@ jobs: os: [ubuntu-latest, macos-latest] go: ["1.23", "1.24"] test-tags: - ["", "-tags nomsgpack", '-tags "sonic avx"', "-tags go_json", "-race"] + [ + "", + "-tags nomsgpack", + '--ldflags="-checklinkname=0" -tags "sonic avx"', + "-tags go_json", + "-race", + ] include: - os: ubuntu-latest go-build: ~/.cache/go-build