Skip to content

Commit 380b809

Browse files
PR vm query action
1 parent d52fd88 commit 380b809

File tree

1 file changed

+17
-6
lines changed

1 file changed

+17
-6
lines changed

.github/workflows/run-vm-query-after-start.yml

Lines changed: 17 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -11,25 +11,36 @@ jobs:
1111
runs-on: ubuntu-latest
1212
steps:
1313
- name: Set up Go 1.x
14-
uses: actions/setup-go@v2
14+
uses: actions/setup-go@v5
1515
with:
1616
go-version: 1.20.7
1717
id: go
1818

19-
- name: Check out code into the Go module directory
20-
uses: actions/checkout@v2
19+
- name: Checkout mx-chain-go
20+
uses: actions/checkout@v4
21+
with:
22+
repository: 'multiversx/mx-chain-go'
23+
ref: 'feat/chain-go-sdk'
24+
path: 'mx-chain-go'
25+
26+
- name: Checkout mx-chain-simulator-go
27+
uses: actions/checkout@v4
28+
with:
29+
path: 'mx-chain-simulator-go'
2130

2231
- name: Get dependencies
2332
run: |
33+
cd mx-chain-simulator-go
2434
go get -v -t -d ./...
2535
if [ -f Gopkg.toml ]; then
2636
curl https://raw.githubusercontent.com/golang/dep/master/install.sh | sh
2737
dep ensure
2838
fi
39+
2940
- name: Run VM query after start
3041
run: |
31-
cd cmd/chainsimulator
42+
cd mx-chain-simulator-go/cmd/chainsimulator
3243
go build
33-
./chainsimulator --fetch-configs-and-close
34-
screen -dmS chainsimulator "./chainsimulator"
44+
./chainsimulator --sovereign --fetch-configs-and-close
45+
screen -dmS chainsimulator "./chainsimulator --sovereign"
3546
./../../scripts/run-vm-query/script.sh

0 commit comments

Comments
 (0)