Skip to content

build(deps): bump the github-actions group across 1 directory with 3 updates #277

build(deps): bump the github-actions group across 1 directory with 3 updates

build(deps): bump the github-actions group across 1 directory with 3 updates #277

Workflow file for this run

name: Run benchmarks
on:
pull_request:
branches: [master]
permissions:
contents: read
jobs:
benchmark:
runs-on: ubuntu-latest
steps:
# Base for comparison is master branch.
- name: Checkout code
uses: actions/[email protected]
with:
ref: master
- name: Install Go
uses: actions/[email protected]
with:
go-version: 'stable'
- run: go install golang.org/x/perf/cmd/benchstat@latest
- run: go test -run=none -bench=. -count=7 -benchtime=200ms -timeout=1h ./... > /tmp/prev
- name: Checkout code
uses: actions/[email protected]
# Second run of benchmarks
- run: go test -run=none -bench=. -count=7 -benchtime=200ms -timeout=1h ./... > /tmp/curr
- run: benchstat /tmp/prev /tmp/curr