Skip to content
This repository was archived by the owner on Feb 7, 2024. It is now read-only.

Commit a876a85

Browse files
committed
chore: use updated go-ipfs
1 parent 1fe33a5 commit a876a85

File tree

2 files changed

+8
-5
lines changed

2 files changed

+8
-5
lines changed

.github/actions/go-test-setup/action.yml

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,10 +6,13 @@ runs:
66
steps:
77
- name: Install go-ipfs
88
shell: bash
9-
run: (cd /tmp && go install github.com/ipfs/go-ipfs/cmd/ipfs@master)
9+
run: |
10+
cd /tmp && git clone https://github.com/coryschwartz/go-ipfs.git
11+
cd go-ipfs && git checkout 153697d524f449ee9bec97245b0fcd7ebc2e8170
12+
make install
1013
- name: Initialize go-ipfs
1114
shell: bash
1215
run: (ipfs init)
1316
- name: Run go-ipfs
1417
shell: bash
15-
run: (ipfs daemon --enable-pubsub-experiment &)
18+
run: (ipfs daemon --enable-pubsub-experiment &)

shell_test.go

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -361,9 +361,9 @@ func TestPubSub(t *testing.T) {
361361
s := NewShell(shellUrl)
362362

363363
var (
364-
topic = fmt.Sprintf("test\n topic\r\t with unsafe bytes")
365-
payload1 = fmt.Sprintf("Hello\r\nWorld\t!")
366-
payload2 = fmt.Sprintf("Hallo\r\nWelt\t!!11oneonę")
364+
topic = "test\n topic\r\t with unsafe bytes"
365+
payload1 = "Hello\r\nWorld\t!"
366+
payload2 = "Hallo\r\nWelt\t!!11oneonę"
367367

368368
sub *PubSubSubscription
369369
err error

0 commit comments

Comments
 (0)