Skip to content

refactor: reuse vole for checking bitswap #6

refactor: reuse vole for checking bitswap

refactor: reuse vole for checking bitswap #6

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 ./...