Skip to content

feat: cond with timeout control #391

feat: cond with timeout control

feat: cond with timeout control #391

Workflow file for this run

name: Pull Request Check
on:
pull_request:
paths-ignore:
- '**.md'
jobs:
build:
runs-on: self-hosted
steps:
- uses: actions/checkout@v2
- name: Check Branch
run: ./check_branch_name.sh ${{ github.head_ref }}
- name: Set up Go
uses: actions/setup-go@v2
with:
go-version: 1.15
- uses: actions/cache@v2
with:
path: ~/go/pkg/mod
key: ${{ runner.os }}-go-${{ hashFiles('**/go.sum') }}
restore-keys: |
${{ runner.os }}-go-
- name: Benchmark
run: go test -bench=. -cpu=4 -benchmem -run=none ./...