mirror of
https://github.com/ipfs/kubo.git
synced 2026-02-21 18:37:45 +08:00
41 lines
930 B
YAML
41 lines
930 B
YAML
name: 'ci/gh-experiment: go build'
|
|
|
|
on:
|
|
workflow_dispatch:
|
|
pull_request:
|
|
push:
|
|
branches:
|
|
- 'master'
|
|
|
|
jobs:
|
|
runner:
|
|
if: github.repository == 'ipfs/kubo' || github.event_name == 'workflow_dispatch'
|
|
uses: ipfs/kubo/.github/workflows/runner.yml@master
|
|
gobuild:
|
|
needs: [runner]
|
|
runs-on: ${{ fromJSON(needs.runner.outputs.config).labels }}
|
|
timeout-minutes: 20
|
|
env:
|
|
TEST_NO_DOCKER: 1
|
|
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.1
|
|
- uses: actions/checkout@v3
|
|
- uses: protocol/cache-go-action@v1
|
|
with:
|
|
name: ${{ github.job }}
|
|
- run: make cmd/ipfs-try-build
|
|
env:
|
|
TEST_NO_FUSE: 0
|
|
- run: make cmd/ipfs-try-build
|
|
env:
|
|
TEST_NO_FUSE: 1
|