Files
turso/.github/workflows/push_only.yml
Pekka Enberg 02b8fb86b8 github: Fix Nyrkiö action git hash
Github actions complains about the following so let's fix it:

  Error: Unable to resolve action `nyrkio/github-action-benchmark@ec6fe57`, the
  provided ref `ec6fe57` is the shortened version of a commit SHA, which is not
  supported. Please use the full commit SHA
  `ec6fe57d80fd83c83c10c6ef3f53899ce993aebb` instead.
2025-01-20 08:53:16 +02:00

35 lines
976 B
YAML

name: Benchmarks+Nyrkiö
# Pull request support isn't integrated to the github-action-benchmark so run only post-merge
on:
push:
branches: [ "main" ]
env:
CARGO_TERM_COLOR: always
jobs:
bench:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Bench
run: cargo bench | tee output.txt
- name: Analyze benchmark result with Nyrkiö
uses: nyrkio/github-action-benchmark@ec6fe57d80fd83c83c10c6ef3f53899ce993aebb
with:
name: turso
tool: criterion
output-file-path: output.txt
fail-on-alert: true
# Nyrkiö configuration
nyrkio-enable: true
# Get yours from https://nyrkio.com/docs/getting-started
nyrkio-token: ${{ secrets.NYRKIO_JWT_TOKEN }}
# Old way...
# Explicitly set this to null. We don't want threshold based alerts today.
external-data-json-path: null
gh-repository: null