Skip to content

Commit

Permalink
add --reset-instrument when running actions because of cache
Browse files Browse the repository at this point in the history
  • Loading branch information
xhd2015 committed Mar 30, 2024
1 parent e7db17d commit fab09bf
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/go.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
4 changes: 2 additions & 2 deletions cmd/xgo/version.go
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down
4 changes: 2 additions & 2 deletions runtime/core/version.go
Original file line number Diff line number Diff line change
Expand Up @@ -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 = ""
Expand Down

0 comments on commit fab09bf

Please sign in to comment.