Merge pull request #430 from gosub-browser/dependabot/cargo/syn-2.0.58 #38
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: Bencher.dev benchmarks | ||
on: | ||
push: | ||
branches: | ||
- * # All branches | ||
jobs: | ||
benchmark_with_bencher: | ||
name: Continuous Benchmarking with Bencher | ||
runs-on: ubuntu-latest | ||
env: | ||
BENCHER_PROJECT: gosub-engine | ||
BENCHER_TESTBED: ubuntu-latest | ||
BENCHER_ADAPTER: json | ||
steps: | ||
- uses: actions/checkout@v4 | ||
- uses: bencherdev/bencher@main | ||
- name: Track Benchmarks with Bencher | ||
run: | | ||
bencher run \ | ||
--branch "$GITHUB_REF_NAME" \ | ||
--token "${{ secrets.BENCHER_API_TOKEN }}" \ | ||
--err \ | ||
cargo bench --all |