From fab09bf4d2639a63f487304bd91d4eaa40788dbb Mon Sep 17 00:00:00 2001 From: xhd2015 Date: Sat, 30 Mar 2024 19:04:55 +0800 Subject: [PATCH] add --reset-instrument when running actions because of cache --- .github/workflows/go.yml | 2 +- cmd/xgo/version.go | 4 ++-- runtime/core/version.go | 4 ++-- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/.github/workflows/go.yml b/.github/workflows/go.yml index 215d53ac..3710aa01 100644 --- a/.github/workflows/go.yml +++ b/.github/workflows/go.yml @@ -26,7 +26,7 @@ jobs: run: go build -v ./cmd/... - name: Test - run: go run ./script/run-test -v -cover -coverpkg github.com/xhd2015/xgo/runtime/... -coverprofile cover.out + run: go run ./script/run-test --reset-instrument -v -cover -coverpkg github.com/xhd2015/xgo/runtime/... -coverprofile cover.out - name: Print coverage run: cd runtime && go tool cover --func ../cover-runtime.out diff --git a/cmd/xgo/version.go b/cmd/xgo/version.go index 7d140049..260ea46e 100644 --- a/cmd/xgo/version.go +++ b/cmd/xgo/version.go @@ -3,8 +3,8 @@ package main import "fmt" const VERSION = "1.0.11" -const REVISION = "5de8ef30a2f64654a508ac88b5ce8f88dcdb2874+1" -const NUMBER = 139 +const REVISION = "e7db17d0725927b95d821d84f5a2935e6e339bcd+1" +const NUMBER = 140 func getRevision() string { return fmt.Sprintf("%s %s BUILD_%d", VERSION, REVISION, NUMBER) diff --git a/runtime/core/version.go b/runtime/core/version.go index ff73277d..223c7ffc 100644 --- a/runtime/core/version.go +++ b/runtime/core/version.go @@ -7,8 +7,8 @@ import ( ) const VERSION = "1.0.11" -const REVISION = "5de8ef30a2f64654a508ac88b5ce8f88dcdb2874+1" -const NUMBER = 139 +const REVISION = "e7db17d0725927b95d821d84f5a2935e6e339bcd+1" +const NUMBER = 140 // these fields will be filled by compiler const XGO_VERSION = ""