Skip to content

fix: check if cid is in dht #8

fix: check if cid is in dht

fix: check if cid is in dht #8

Workflow file for this run

name: Test
on:
workflow_dispatch:
push:
jobs:
test:
runs-on: 'ubuntu-latest'
defaults:
run:
shell: bash
steps:
- name: Setup Go
uses: actions/setup-go@v4
with:
go-version: 1.21.x
- uses: actions/checkout@v4
with:
path: 'ipfs-check'
- name: Build and Start
run: |
cd ipfs-check
go build -o ipfs-check
./ipfs-check &
sleep 300
- uses: ipfs/download-ipfs-distribution-action@v1
- name: Configure Kubo Gateway
run: |
ipfs init;
- uses: ipfs/start-ipfs-daemon-action@v1
- name: Tests
working-directory: ipfs-check
run: |
go test ./...