Fix: refine ci output
This commit is contained in:
@@ -16,8 +16,10 @@ jobs:
|
|||||||
steps:
|
steps:
|
||||||
- name: Checkout repository
|
- name: Checkout repository
|
||||||
uses: actions/checkout@v4
|
uses: actions/checkout@v4
|
||||||
|
- name: Run docker compose
|
||||||
|
run: make docker-quiet
|
||||||
- name: Run go test
|
- name: Run go test
|
||||||
run: make test-ci
|
run: make test
|
||||||
cleanup-go-test:
|
cleanup-go-test:
|
||||||
needs: run-go-test
|
needs: run-go-test
|
||||||
runs-on: imgbuilder
|
runs-on: imgbuilder
|
||||||
|
|||||||
2
Makefile
2
Makefile
@@ -3,7 +3,7 @@
|
|||||||
|
|
||||||
SWAG ?= go run github.com/swaggo/swag/cmd/swag@v1.16.4
|
SWAG ?= go run github.com/swaggo/swag/cmd/swag@v1.16.4
|
||||||
DOCKER ?= docker
|
DOCKER ?= docker
|
||||||
COMPOSE ?= $(DOCKER) compose -p go2025-backend
|
COMPOSE ?= $(DOCKER) compose -p go2025-backend --progress plain
|
||||||
|
|
||||||
GO_ENV += CGO_ENABLED=0
|
GO_ENV += CGO_ENABLED=0
|
||||||
SOURCE := $(shell find . -type f -name '*.go')
|
SOURCE := $(shell find . -type f -name '*.go')
|
||||||
|
|||||||
Reference in New Issue
Block a user