Skip to content

Commit

Permalink
fix .github/workflows/nightly-test.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
xhd2015 committed May 24, 2024
1 parent 4e124e7 commit 1410ee4
Show file tree
Hide file tree
Showing 4 changed files with 14 additions and 9 deletions.
11 changes: 8 additions & 3 deletions .github/workflows/nightly-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -42,10 +42,11 @@ jobs:
run: |
cat > util.sh <<EOF
function record_exit_code {
echo "exit code: $1"
echo "$1" > test-exit-code.txt
echo "exit code: $exit_code"
echo "$exit_code" > test-exit-code.txt
}
trap 'record $?' EXIT
exit_code=1
trap 'record_exit_code' EXIT
EOF
- name: Set up Go
Expand All @@ -71,6 +72,7 @@ jobs:
source util.sh
cd gin-gonic/gin
xgo test -v ./...
exit_code=$?
- uses: actions/checkout@v4
with:
Expand All @@ -83,6 +85,7 @@ jobs:
source util.sh
cd pocketbase/pocketbase
xgo test -v ./...
exit_code=$?
- uses: actions/checkout@v4
with:
Expand All @@ -95,6 +98,7 @@ jobs:
source util.sh
cd gohugoio/hugo
xgo test -v ./...
exit_code=$?
- uses: actions/checkout@v4
with:
Expand All @@ -107,6 +111,7 @@ jobs:
source util.sh
cd kubernetes/kubernetes
xgo test -v ./...
exit_code=$?
- name: Summary
run: |
Expand Down
4 changes: 2 additions & 2 deletions cmd/xgo/runtime_gen/core/version.go
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,8 @@ import (
)

const VERSION = "1.0.37"
const REVISION = "ae27ae104ac2f782ec47dff97216958f65e5723a+1"
const NUMBER = 235
const REVISION = "4e124e7cc78b77dd490a81bc8db6d8ebdc7c7837+1"
const NUMBER = 236

// these fields will be filled by compiler
const XGO_VERSION = ""
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.37"
const REVISION = "ae27ae104ac2f782ec47dff97216958f65e5723a+1"
const NUMBER = 235
const REVISION = "4e124e7cc78b77dd490a81bc8db6d8ebdc7c7837+1"
const NUMBER = 236

func getRevision() string {
revSuffix := ""
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.37"
const REVISION = "ae27ae104ac2f782ec47dff97216958f65e5723a+1"
const NUMBER = 235
const REVISION = "4e124e7cc78b77dd490a81bc8db6d8ebdc7c7837+1"
const NUMBER = 236

// these fields will be filled by compiler
const XGO_VERSION = ""
Expand Down

0 comments on commit 1410ee4

Please sign in to comment.