mirror of
https://github.com/ultravioletrs/cocos.git
synced 2026-06-23 04:10:25 +00:00
Fix CI (#6)
* Fix CI Signed-off-by: WashingtonKK <washingtonkigan@gmail.com> * Fix CI Signed-off-by: WashingtonKK <washingtonkigan@gmail.com> * Use single make Signed-off-by: WashingtonKK <washingtonkigan@gmail.com> --------- Signed-off-by: WashingtonKK <washingtonkigan@gmail.com>
This commit is contained in:
committed by
GitHub
parent
79d1834173
commit
7d47ed7a20
@@ -29,8 +29,7 @@ jobs:
|
||||
|
||||
- name: Build
|
||||
run: |
|
||||
go build -mod=vendor -ldflags="-linkmode=external -extldflags=-static -s -w" cmd/agent/main.go
|
||||
go build -mod=vendor -ldflags "-s -w" cmd/cli/main.go
|
||||
make
|
||||
|
||||
- name: Run tests
|
||||
run: go test -mod=vendor -v --race -covermode=atomic -coverprofile cover.out ./...
|
||||
run: go test -v --race -covermode=atomic -coverprofile cover.out ./...
|
||||
|
||||
Reference in New Issue
Block a user