chore(deps): bump actions/dependency-review-action from 4.2.3 to 4.2.4 #345
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Benchmarks | |
on: | |
push: | |
branches: ["main"] | |
pull_request: | |
branches: ["main"] | |
jobs: | |
benchmark: | |
name: Benchmarks | |
strategy: | |
matrix: | |
go-version: ["1.19"] | |
platform: ["ubuntu-latest"] | |
runs-on: ${{ matrix.platform }} | |
timeout-minutes: 10 | |
steps: | |
- name: Checkout repository | |
uses: actions/checkout@9bb56186c3b09b4f86b1c65136769dd318469633 | |
- name: Set up Go ${{ matrix.go-version }} | |
uses: actions/setup-go@0c52d547c9bc32b1aa3301fd7a9cb496313a4491 | |
with: | |
go-version: ${{ matrix.go-version }} | |
id: go | |
- name: Run benchmark | |
run: go test -benchmem -run="^$" -bench "^Benchmark" . quamina.net/go/quamina | tee output.txt | |
- name: Download previous benchmark data | |
uses: actions/cache@0c45773b623bea8c8e75f6c82b208c3cf94ea4f9 | |
with: | |
path: ./cache | |
key: ${{ runner.os }}-benchmark | |
- name: Store benchmark result | |
uses: benchmark-action/github-action-benchmark@cc9ac13ce81036c9b67fcfe2cb95ca366684b9ea | |
with: | |
name: Go Benchmark | |
tool: "go" | |
# Compare results against json from cache | |
output-file-path: output.txt | |
external-data-json-path: ./cache/benchmark-data.json | |
# print job summary in workflow output | |
summary-always: true | |
# Alert on regression | |
alert-threshold: "120%" | |
fail-on-alert: true | |
comment-on-alert: false | |
# Disable github pages, for now. | |
auto-push: false |