From 3a2f487abaec6d1477015ca141ebb283399f6740 Mon Sep 17 00:00:00 2001 From: Lifailon Date: Mon, 31 Mar 2025 10:26:41 +0300 Subject: [PATCH] debug env version --- .github/workflows/build.yml | 6 ++++-- Makefile | 4 ++-- 2 files changed, 6 insertions(+), 4 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 3c9cf81..885646c 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -109,7 +109,7 @@ jobs: # macOS - name: Unit testing (files, flags and run main interface) in macOS if: ${{ github.event.inputs.Test == 'true' && github.event.inputs.Distro == 'macos-15' }} - run: sudo go test -v --run "TestUnixFiles|TestFlags|TestMainInterface" -cover + run: sudo go test -v --run "TestUnixFiles|TestFlags|TestCommandColor|TestMainInterface" -cover continue-on-error: true timeout-minutes: 5 @@ -129,7 +129,7 @@ jobs: - name: Unit testing (events, files, flags and interface) in Windows if: ${{ github.event.inputs.Test == 'true' && github.event.inputs.Distro == 'windows-2022' }} - run: go test -v --run "TestWin.*|TestFlags|TestMainInterface|TestMockInterface" -cover + run: go test -v --run "TestWin.*|TestFlags|TestCommandColor|TestMainInterface|TestMockInterface" -cover continue-on-error: true timeout-minutes: 5 @@ -163,3 +163,5 @@ jobs: with: name: ${{ env.ARTIFACT_NAME }} path: bin/ + env: + ARTIFACT_NAME: ${{ env.ARTIFACT_NAME }} \ No newline at end of file diff --git a/Makefile b/Makefile index 0afa964..66df58f 100644 --- a/Makefile +++ b/Makefile @@ -1,4 +1,4 @@ -version := $(shell go run main.go -v) +VERSION := $(shell go run main.go -v) prep: @go fmt ./... @@ -29,7 +29,7 @@ test: prep go test -v -cover --run $(n) ./... build: prep - @echo "Build version: $(version)" + @echo "Build version: $(VERSION)" CGO_ENABLED=0 GOOS=linux GOARCH=amd64 go build -o bin/lazyjournal-$(VERSION)-linux-amd64 CGO_ENABLED=0 GOOS=linux GOARCH=arm64 go build -o bin/lazyjournal-$(VERSION)-linux-arm64 CGO_ENABLED=0 GOOS=darwin GOARCH=amd64 go build -o bin/lazyjournal-$(VERSION)-darwin-amd64