Skip to content

Merge branch 'master' into dependabot/go_modules/v3/github.com/stretc… #90

Merge branch 'master' into dependabot/go_modules/v3/github.com/stretc…

Merge branch 'master' into dependabot/go_modules/v3/github.com/stretc… #90

Workflow file for this run

name: CB
on: [push]
permissions:
contents: write
deployments: write
jobs:
benchmarks:
runs-on: ubuntu-latest
strategy:
matrix:
go-version: [ '1.18' ]
steps:
- uses: actions/checkout@v3
- name: Setup Go ${{ matrix.go-version }}
uses: actions/setup-go@v3
with:
go-version: ${{ matrix.go-version }}
- name: Run benchmark
run: make benchmark | tee output.txt
- name: Download previous benchmark data
uses: actions/cache@v3
with:
path: ./cache
key: ${{ runner.os }}-benchmark
- name: Store benchmark result
uses: benchmark-action/github-action-benchmark@v1
with:
tool: 'go'
output-file-path: output.txt
external-data-json-path: ./cache/benchmark-data.json
fail-on-alert: true
github-token: ${{ secrets.GITHUB_TOKEN }}
comment-always: true
comment-on-alert: true
alert-comment-cc-users: '@fr33r'