Bump h2 from 0.3.22 to 0.3.24 #51
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
on: [push] | |
name: Benchmark | |
jobs: | |
build_and_test: | |
name: Advent of Code | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- uses: actions-rs/toolchain@v1 | |
with: | |
toolchain: stable | |
- name: Set up cargo cache | |
uses: actions/cache@v3 | |
continue-on-error: false | |
with: | |
path: | | |
~/.cargo/bin/ | |
~/.cargo/registry/index/ | |
~/.cargo/registry/cache/ | |
~/.cargo/git/db/ | |
target/ | |
key: ${{ runner.os }}-cargo-${{ hashFiles('**/Cargo.lock') }} | |
restore-keys: ${{ runner.os }}-cargo- | |
- name: Install dependencies | |
run: | | |
cargo install cargo-criterion --locked || true | |
cargo install criterion-table --locked || true | |
- name: Start benchmarks | |
run: cargo criterion --message-format=json | criterion-table > BENCHMARKS.md | |
- uses: stefanzweifel/git-auto-commit-action@v4 | |
with: | |
commit_message: Update benchmarks |