Test stable benchmarks with the beta toolchain #2
Workflow file for this run
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: Test stable benchmarks with beta | |
on: | |
pull_request: | |
schedule: | |
- cron: "0 12 * * 1" # Every Monday at 12:00 UTC | |
jobs: | |
test-stable: | |
name: Test stable benchmarks | |
runs-on: ubuntu-24.04 | |
steps: | |
- name: Checkout the source code | |
uses: actions/checkout@v4 | |
- name: Install beta toolchain | |
run: | | |
rustup install beta | |
rustup default beta | |
- uses: Swatinem/rust-cache@v2 | |
with: | |
key: beta | |
- name: Build | |
run: cargo build -p collector | |
- name: Run stable benchmarks | |
run: | | |
cargo run --bin collector bench_local `rustup +beta which rustc` --category Stable |