File tree Expand file tree Collapse file tree 2 files changed +13
-4
lines changed Expand file tree Collapse file tree 2 files changed +13
-4
lines changed Original file line number Diff line number Diff line change @@ -23,10 +23,17 @@ jobs:
23
23
restore-keys : |
24
24
${{ runner.os }}-go-
25
25
26
- - uses : dfinity/setup-dfx@main
26
+ - name : Install Internet Computer SDK
27
+ uses : dfinity/setup-dfx@main
27
28
with :
28
29
dfx-version : 0.25.1
29
30
31
+ - name : Build Stellar Devchain Image
32
+ working-directory : payment-channel-xlm
33
+ run : |
34
+ chmod +x ./testdata/docker/build.sh
35
+ ./testdata/docker/build.sh
36
+
30
37
- name : Pull ganache-cli image
31
38
run : docker pull ${{ env.ganache-image }}
32
39
58
65
59
66
sleep 50
60
67
go run ./
61
- docker stop stellar soroban-preview
68
+ docker stop stellar
62
69
63
70
- name : Payment Channel Cross-Contract
64
71
working-directory : payment-channel-cc
@@ -105,7 +112,6 @@ jobs:
105
112
./stopdfx.sh || true # stop any running dfx
106
113
./startdeploy.sh
107
114
108
- sleep 5
109
115
go run ./
110
116
111
117
./stopdfx.sh || true
Original file line number Diff line number Diff line change @@ -59,10 +59,13 @@ docker run -d \
59
59
--network soroban-network \
60
60
soroban-preview:10
61
61
62
+ echo " Cleaning up any existing stellar container"
63
+ docker rm -f stellar 2> /dev/null || true
64
+
62
65
# Start the stellar quickstart container
63
66
if [[ " $DETACHED " == " 1" ]]; then
64
67
echo " Running stellar quickstart container in detached mode"
65
- docker run -d \
68
+ docker run --rm - d \
66
69
--name stellar \
67
70
--pull always \
68
71
--network soroban-network \
You can’t perform that action at this time.
0 commit comments