Skip to content

feat(wirey): adds cpu profiling #19

feat(wirey): adds cpu profiling

feat(wirey): adds cpu profiling #19

Workflow file for this run

name: CI
on:
pull_request:
branches:
- master
push:
branches:
- '*'
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Install Go
uses: actions/setup-go@v2
with:
go-version: 1.17
- name: Checkout code
uses: actions/checkout@v2
- name: Restore cache
uses: actions/cache@v2
with:
path: ~/go/pkg/mod
key: ${{ runner.os }}-go-${{ hashFiles('**/go.sum') }}
restore-keys: |
${{ runner.os }}-go-
- name: Format
run: if [ "$(go fmt ./... && git status --porcelain --untracked-files=no | wc -l)" -gt 0 ]; then exit 1; fi
- name: Test
run: make test
- name: Build
run: make build