This repository was archived by the owner on Nov 3, 2025. It is now read-only.
Merge pull request #260 from artichoke/dependabot/bundler/bundler-dep… #678
This file contains hidden or 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: Bench | |
| "on": | |
| push: | |
| branches: | |
| - trunk | |
| pull_request: | |
| branches: | |
| - trunk | |
| schedule: | |
| - cron: "0 0 * * WED" | |
| permissions: {} | |
| jobs: | |
| bench: | |
| name: Bench | |
| runs-on: ubuntu-latest | |
| env: | |
| RUSTFLAGS: -D warnings | |
| RUST_BACKTRACE: 1 | |
| steps: | |
| - name: Checkout repository | |
| uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0 | |
| with: | |
| persist-credentials: false | |
| - name: Install Rust toolchain | |
| uses: artichoke/setup-rust/build-and-test@68e0ebb3b406970de1cc2ca807797c9156a198a7 # v2.0.1 | |
| with: | |
| toolchain: nightly | |
| - name: Compile | |
| run: cargo build --verbose | |
| working-directory: benchmarks | |
| - name: Compile tests | |
| run: cargo bench --no-run | |
| working-directory: benchmarks | |
| - name: Test | |
| if: github.ref == 'refs/heads/trunk' | |
| run: cargo bench | |
| working-directory: benchmarks |