mirror of
https://github.com/fumiama/WireGold.git
synced 2026-06-09 18:40:36 +08:00
fix: -checklinkname=0
This commit is contained in:
8
.github/workflows/ci.yml
vendored
8
.github/workflows/ci.yml
vendored
@@ -11,7 +11,7 @@ jobs:
|
||||
- name: Set up Go 1.x
|
||||
uses: actions/setup-go@master
|
||||
with:
|
||||
go-version: ^1.20
|
||||
go-version: ^1.23
|
||||
|
||||
- name: Check out code into the Go module directory
|
||||
uses: actions/checkout@master
|
||||
@@ -23,10 +23,10 @@ jobs:
|
||||
run: sed -i 's/false/true/g' config/global.go
|
||||
|
||||
- name: Build
|
||||
run: go build -checklinkname=0 -v ./...
|
||||
run: go build -ldflags=-checklinkname=0 -v ./...
|
||||
|
||||
- name: Test
|
||||
run: sudo go test -checklinkname=0 $(go list ./...) # ip test needs sudo
|
||||
run: sudo go test -ldflags=-checklinkname=0 $(go list ./...) # ip test needs sudo
|
||||
|
||||
lint:
|
||||
name: Lint
|
||||
@@ -35,7 +35,7 @@ jobs:
|
||||
- name: Set up Go 1.x
|
||||
uses: actions/setup-go@master
|
||||
with:
|
||||
go-version: ^1.20
|
||||
go-version: ^1.23
|
||||
|
||||
- name: Check out code into the Go module directory
|
||||
uses: actions/checkout@master
|
||||
|
||||
Reference in New Issue
Block a user