Skip to content

build(deps): bump github.com/prometheus/client_golang #48

build(deps): bump github.com/prometheus/client_golang

build(deps): bump github.com/prometheus/client_golang #48

Workflow file for this run

name: benchmark
on:
# Test new changes
pull_request:
push:
branches:
# Record on merges to main
- main
jobs:
benchmark:
if: ${{ false }}
runs-on: ubuntu-latest
permissions:
# For benchmark-action comment-always
pull-requests: write
steps:
- uses: actions/checkout@v4
- uses: actions/setup-go@v5
with:
go-version-file: 'go.mod'
cache: true
- run: make bench
env:
HEAD_REF: ${{ env.GITHUB_REF_NAME }}
- uses: actions/cache@v4
with:
path: ./cache
key: ${{ runner.os }}-benchmark
- uses: benchmark-action/github-action-benchmark@v1.20.3
with:
tool: 'go'
output-file-path: test-results/benchmark-results-${{ env.GITHUB_REF_NAME }}.txt
external-data-json-path: ./cache/benchmark-data.json
save-data-file: ${{ github.event_name != 'pull_request' }}
github-token: ${{ secrets.GITHUB_TOKEN }}
comment-on-alert: true
summary-always: true