Add intra42 client secret matcher (#86) #31
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: Benchmark | |
on: | |
push: | |
branches: | |
- main | |
jobs: | |
benchmark: | |
runs-on: ubuntu-latest | |
name: Run and publish benchmarks | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Clone getsentry/sentry | |
uses: actions/checkout@v3 | |
with: | |
repository: getsentry/sentry | |
ref: f5d9a4c3e403d3419dea9b0005408d34d30c6015 | |
path: benches/getsentry/sentry | |
- name: Delete Markdown files from submodule to avoid Jekyll errors | |
run: find benches -name "*.md" -delete | |
- name: Install nix | |
uses: cachix/install-nix-action@v18 | |
- name: Run benchmark | |
run: | | |
nix develop | |
cargo bench --bench find_secrets -- --output-format bencher >benchmark.txt 2>/dev/null | |
- name: Store benchmark result | |
uses: benchmark-action/github-action-benchmark@v1.14.0 | |
with: | |
tool: cargo | |
output-file-path: benchmark.txt | |
# Access token to deploy GitHub Pages branch | |
github-token: ${{ secrets.GITHUB_TOKEN }} | |
# Push and deploy GitHub Pages branch automatically | |
auto-push: true |