mirror of
https://github.com/fumiama/WireGold.git
synced 2026-06-05 07:50:24 +08:00
fix(ci): debug log printing
This commit is contained in:
5
.github/workflows/ci.yml
vendored
5
.github/workflows/ci.yml
vendored
@@ -18,12 +18,15 @@ jobs:
|
||||
|
||||
- name: Get dependencies
|
||||
run: go mod tidy
|
||||
|
||||
- name: Enable Debug Log
|
||||
run: sed -i '' 's/false/true/g' config/global.go
|
||||
|
||||
- name: Build
|
||||
run: go build -v ./...
|
||||
|
||||
- name: Test
|
||||
run: sudo go test -ldflags "-X github.com/fumiama/WireGold/config.ShowDebugLog=true" $(go list ./...) # ip test needs sudo
|
||||
run: sudo go test $(go list ./...) # ip test needs sudo
|
||||
|
||||
lint:
|
||||
name: Lint
|
||||
|
||||
Reference in New Issue
Block a user