Skip to content

tune configuration

tune configuration #3

Workflow file for this run

name: Benchmarks
on:
push:
branches:
- jsign-ci-bench
permissions:
contents: write
deployments: write
jobs:
benchmark:
name: Run Go benchmark example
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/setup-go@v4
with:
go-version: "stable"
- name: Run benchmark
run: go test ./... -run=none -bench . | tee bench_output.txt
- name: Store benchmark result
uses: benchmark-action/github-action-benchmark@v1
with:
name: Go Benchmark
tool: 'go'
output-file-path: bench_output.txt
github-token: ${{ secrets.GITHUB_TOKEN }}
auto-push: true
alert-threshold: '10%'
comment-on-alert: true
summary-always: true
fail-on-alert: true
alert-comment-cc-users: '@jsign,@kevaundray'