-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
- Loading branch information
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
name: Run Benchmarks | ||
on: pull_request | ||
|
||
jobs: | ||
benchmark: | ||
name: Benchmark | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v4 | ||
- uses: dtolnay/rust-toolchain@stable | ||
Check warning Code scanning / CodeQL Unpinned tag for a non-immutable Action in workflow Medium
Unpinned 3rd party Action 'Run Benchmarks' step
Uses Step Error loading related location Loading |
||
- uses: Swatinem/rust-cache@v2 | ||
Check warning Code scanning / CodeQL Unpinned tag for a non-immutable Action in workflow Medium
Unpinned 3rd party Action 'Run Benchmarks' step
Uses Step Error loading related location Loading |
||
- run: cargo install cargo-criterion | ||
- run: cargo criterion --output-format bencher 2>&1 | tee output.txt | ||
- uses: benchmark-action/github-action-benchmark@v1 | ||
Check warning Code scanning / CodeQL Unpinned tag for a non-immutable Action in workflow Medium
Unpinned 3rd party Action 'Run Benchmarks' step
Uses Step Error loading related location Loading |
||
with: | ||
name: Rust Benchmark | ||
tool: "cargo" | ||
output-file-path: output.txt | ||
github-token: ${{ secrets.GITHUB_TOKEN }} | ||
alert-threshold: "120%" | ||
comment-always: true | ||
fail-on-alert: true | ||
gh-pages-branch: main | ||
skip-fetch-gh-pages: true | ||
save-data-file: false | ||
Check warning Code scanning / CodeQL Workflow does not contain permissions Medium
Actions Job or Workflow does not set permissions
|
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.