ci: switch from testing against js-ipfs to helia (#10042) #1683
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Go Build | |
on: | |
workflow_dispatch: | |
pull_request: | |
paths-ignore: | |
- '**/*.md' | |
push: | |
branches: | |
- 'master' | |
concurrency: | |
group: ${{ github.workflow }}-${{ github.event_name }}-${{ github.event_name == 'push' && github.sha || github.ref }} | |
cancel-in-progress: true | |
jobs: | |
go-build: | |
if: github.repository == 'ipfs/kubo' || github.event_name == 'workflow_dispatch' | |
runs-on: ${{ fromJSON(github.repository == 'ipfs/kubo' && '["self-hosted", "linux", "x64", "4xlarge"]' || '"ubuntu-latest"') }} | |
timeout-minutes: 20 | |
env: | |
TEST_DOCKER: 0 | |
TEST_VERBOSE: 1 | |
TRAVIS: 1 | |
GIT_PAGER: cat | |
IPFS_CHECK_RCMGR_DEFAULTS: 1 | |
defaults: | |
run: | |
shell: bash | |
steps: | |
- uses: actions/setup-go@v3 | |
with: | |
go-version: 1.19.x | |
- uses: actions/checkout@v3 | |
- uses: protocol/cache-go-action@v1 | |
with: | |
name: ${{ github.job }} | |
- run: make cmd/ipfs-try-build | |
env: | |
TEST_FUSE: 1 | |
- run: make cmd/ipfs-try-build | |
env: | |
TEST_FUSE: 0 |