Skip to content

Use shared benchmark CI #101

Use shared benchmark CI

Use shared benchmark CI #101

Workflow file for this run

name: benchmark
on:
workflow_dispatch:
push:
branches: [main]
pull_request_review:
types: [submitted]
pull_request:
branches: [main]
types: [synchronize]
paths:
- Sources/*.swift
- Benchmarks/
- .github/workflows/benchmark.yml
jobs:
benchmark:
# Run the job only if it's a manual workflow dispatch, or if this event is a pull-request approval event, or if someone has rerun the job.
if: github.event_name == 'workflow_dispatch' || github.event.review.state == 'approved' || github.run_attempt > 1
uses: vapor/ci/.github/workflows/run-benchmark.yml@mmbm-benchmark
secrets: inherit