Skip to content

build(deps): bump benchmark-action/github-action-benchmark from 1.20.3 to 1.20.4 #1095

build(deps): bump benchmark-action/github-action-benchmark from 1.20.3 to 1.20.4

build(deps): bump benchmark-action/github-action-benchmark from 1.20.3 to 1.20.4 #1095

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.4
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