Skip to content
This repository has been archived by the owner on Jun 20, 2024. It is now read-only.

Commit

Permalink
Update gateway-conformance.yml (#207)
Browse files Browse the repository at this point in the history
  • Loading branch information
willscott authored Sep 21, 2023
1 parent ec4f3dc commit 946e050
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions .github/workflows/gateway-conformance.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,18 +17,18 @@ jobs:
- name: Setup Go
uses: actions/setup-go@v4
with:
go-version: 1.19.x
go-version: 1.20.x

- name: Install Kubo gateway from source
#uses: ipfs/download-ipfs-distribution-action@v1
run: |
go install github.com/ipfs/kubo/cmd/ipfs@73552dfd9c6f73fdab887c4d2e99cf7e848a3c23
go install github.com/ipfs/kubo/cmd/ipfs@4e3008fdf349e9506c95e36839b8bc832c3aab54
- name: Start Kubo gateway
uses: ipfs/start-ipfs-daemon-action@v1

# 2. Download the gateway-conformance fixtures
- name: Download gateway-conformance fixtures
uses: ipfs/gateway-conformance/.github/actions/[email protected]
uses: ipfs/gateway-conformance/.github/actions/[email protected].0
with:
output: fixtures

Expand All @@ -43,7 +43,7 @@ jobs:
for record in $records
do
key=$(basename -s .ipns-record "$record" | cut -d'_' -f1)
ipfs routing put --allow-offline --offline "/ipns/$key" "$record"
ipfs routing put --allow-offline "/ipns/$key" "$record"
done
# Import dnslink records
Expand Down Expand Up @@ -78,7 +78,7 @@ jobs:

# 6. Run the gateway-conformance tests
- name: Run gateway-conformance tests
uses: ipfs/gateway-conformance/.github/actions/[email protected]
uses: ipfs/gateway-conformance/.github/actions/[email protected].0
with:
gateway-url: http://127.0.0.1:8081
json: output.json
Expand Down

0 comments on commit 946e050

Please sign in to comment.