We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent e1d9333 commit d47c35fCopy full SHA for d47c35f
.circleci/main.yml
@@ -120,11 +120,18 @@ jobs:
120
# make sure the examples run against the current version of go-ipfs
121
go mod edit -replace github.com/ipfs/go-ipfs=./../../..
122
go mod tidy
123
+
124
+ # use the internal config package when we test the current version of go-ipfs
125
+ sed -i.bak 's;"github.com/ipfs/go-ipfs-config";"github.com/ipfs/go-ipfs/config";' ./main.go
126
127
go test -v ./...
128
129
# restore the go.mod and go.sum files to their original state
130
mv go.mod.bak go.mod
131
mv go.sum.bak go.sum
132
133
+ # restore the main.go to its original state
134
+ mv main.go.bak main.go
135
working_directory: ~/ipfs/go-ipfs/docs/examples/go-ipfs-as-a-library
136
137
- run:
0 commit comments