From 4f6b224d0fba7434900c45b0977d8efe4083220b Mon Sep 17 00:00:00 2001 From: Adin Schmahmann Date: Tue, 15 Aug 2023 02:41:22 -0400 Subject: [PATCH] ci: use a kubo development commit for conformance tests This is to handle a bug where if there is a CAR request for a non-existent path an error is returned rather than a CAR that proves that the requested path cannot exist. --- .github/workflows/gateway-conformance.yml | 16 ++++++++++------ 1 file changed, 10 insertions(+), 6 deletions(-) diff --git a/.github/workflows/gateway-conformance.yml b/.github/workflows/gateway-conformance.yml index 4d42df6..ad04656 100644 --- a/.github/workflows/gateway-conformance.yml +++ b/.github/workflows/gateway-conformance.yml @@ -14,8 +14,16 @@ jobs: car-env: ["GRAPH_BACKEND=false", "GRAPH_BACKEND=true"] steps: # 1. Start the Kubo gateway - - name: Download Kubo gateway - uses: ipfs/download-ipfs-distribution-action@v1 + - name: Setup Go + uses: actions/setup-go@v3 + with: + go-version: 1.19.x + - uses: protocol/cache-go-action@v1 + + - name: Install Kubo gateway from source + #uses: ipfs/download-ipfs-distribution-action@v1 + run: | + go install github.com/ipfs/kubo/cmd@73552dfd9c6f73fdab887c4d2e99cf7e848a3c23 - name: Start Kubo gateway uses: ipfs/start-ipfs-daemon-action@v1 @@ -46,10 +54,6 @@ jobs: echo "IPFS_NS_MAP=${IPFS_NS_MAP}" >> $GITHUB_ENV # 4. Build the bifrost-gateway - - name: Setup Go - uses: actions/setup-go@v3 - with: - go-version: 1.19.x - name: Checkout bifrost-gateway uses: actions/checkout@v3 with: