chore(deps): update all non-major dependencies #461
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: | |
tags: | |
- "v*" | |
branches: [master] | |
paths: | |
- src/** | |
pull_request: | |
branches: [master] | |
paths: | |
- src/** | |
# Declare default permissions as read only. | |
permissions: read-all | |
jobs: | |
benchmark: | |
runs-on: ubuntu-22.04 | |
permissions: | |
contents: write | |
pages: write | |
pull-requests: write | |
steps: | |
- name: Checkout | |
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2 | |
with: | |
fetch-depth: 0 | |
- name: Install .NET | |
uses: actions/setup-dotnet@3e891b0cb619bf60e2c25674b222b8940e2c1c25 # v4.1.0 | |
with: | |
dotnet-version: "8.0.x" | |
- name: Run benchmark | |
run: dotnet run -c Release --project=src/Vfps.Benchmarks | |
- name: Store benchmark result | |
uses: benchmark-action/github-action-benchmark@d48d326b4ca9ba73ca0cd0d59f108f9e02a381c7 # v1.20.4 | |
with: | |
name: PseudonymGeneratorBenchmarks | |
tool: "benchmarkdotnet" | |
output-file-path: BenchmarkDotNet.Artifacts/results/Vfps.Benchmarks.PseudonymGeneratorBenchmarks-report-full-compressed.json | |
github-token: ${{ secrets.GITHUB_TOKEN }} | |
auto-push: ${{github.event_name != 'pull_request'}} | |
# Show alert with commit comment on detecting possible performance regression | |
alert-threshold: "200%" | |
comment-on-alert: true | |
fail-on-alert: true |