mirror of
https://github.com/gin-gonic/gin.git
synced 2025-10-14 12:12:12 +08:00
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 <appleboy.tw@gmail.com>
This commit is contained in:
parent
6d999ec344
commit
2e5ba860d1
8
.github/workflows/gin.yml
vendored
8
.github/workflows/gin.yml
vendored
@ -35,7 +35,13 @@ jobs:
|
|||||||
os: [ubuntu-latest, macos-latest]
|
os: [ubuntu-latest, macos-latest]
|
||||||
go: ["1.23", "1.24"]
|
go: ["1.23", "1.24"]
|
||||||
test-tags:
|
test-tags:
|
||||||
["", "-tags nomsgpack", '-tags "sonic avx"', "-tags go_json", "-race"]
|
[
|
||||||
|
"",
|
||||||
|
"-tags nomsgpack",
|
||||||
|
'--ldflags="-checklinkname=0" -tags "sonic avx"',
|
||||||
|
"-tags go_json",
|
||||||
|
"-race",
|
||||||
|
]
|
||||||
include:
|
include:
|
||||||
- os: ubuntu-latest
|
- os: ubuntu-latest
|
||||||
go-build: ~/.cache/go-build
|
go-build: ~/.cache/go-build
|
||||||
|
Loading…
x
Reference in New Issue
Block a user