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

Commit

Permalink
chore: use updated go-ipfs
Browse files Browse the repository at this point in the history
  • Loading branch information
lidel committed Nov 16, 2021
1 parent 1fe33a5 commit a876a85
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 5 deletions.
7 changes: 5 additions & 2 deletions .github/actions/go-test-setup/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,10 +6,13 @@ runs:
steps:
- name: Install go-ipfs
shell: bash
run: (cd /tmp && go install github.com/ipfs/go-ipfs/cmd/ipfs@master)
run: |
cd /tmp && git clone https://github.com/coryschwartz/go-ipfs.git
cd go-ipfs && git checkout 153697d524f449ee9bec97245b0fcd7ebc2e8170
make install
- name: Initialize go-ipfs
shell: bash
run: (ipfs init)
- name: Run go-ipfs
shell: bash
run: (ipfs daemon --enable-pubsub-experiment &)
run: (ipfs daemon --enable-pubsub-experiment &)
6 changes: 3 additions & 3 deletions shell_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -361,9 +361,9 @@ func TestPubSub(t *testing.T) {
s := NewShell(shellUrl)

var (
topic = fmt.Sprintf("test\n topic\r\t with unsafe bytes")
payload1 = fmt.Sprintf("Hello\r\nWorld\t!")
payload2 = fmt.Sprintf("Hallo\r\nWelt\t!!11oneonę")
topic = "test\n topic\r\t with unsafe bytes"
payload1 = "Hello\r\nWorld\t!"
payload2 = "Hallo\r\nWelt\t!!11oneonę"

sub *PubSubSubscription
err error
Expand Down

0 comments on commit a876a85

Please sign in to comment.