Skip to content

Commit 7c52dc7

Browse files
lidelguseggert
andauthored
feat: go-ipfs 0.11.0 (#1936)
* fix(ci): run ipfs daemon fixes CI failures when gateway requests are blocked by azure^Wgithub * feat: go-ipfs 0.11.0 Co-authored-by: Gus Eggert <[email protected]>
1 parent ae3f40e commit 7c52dc7

File tree

3 files changed

+13151
-29
lines changed

3 files changed

+13151
-29
lines changed

.github/workflows/ci.yml

+13
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,19 @@ jobs:
1919
with:
2020
node-version: 'lts/*'
2121

22+
- name: Setup go
23+
uses: actions/setup-go@v2
24+
with:
25+
go-version: '1.16'
26+
- name: Build go-ipfs binary
27+
run: go install github.com/ipfs/go-ipfs/cmd/ipfs@latest
28+
- name: Initialize go-ipfs and start daemon
29+
run: |
30+
sudo sysctl -w net.core.rmem_max=2500000
31+
ipfs init --profile flatfs,server
32+
ipfs daemon --enable-gc=false &
33+
while (! ipfs id --api "/ip4/127.0.0.1/tcp/5001"); do sleep 1; done
34+
2235
- name: Cache webui
2336
uses: actions/cache@v2
2437
id: webui-cache

0 commit comments

Comments
 (0)