From b026236b0bb58f2ac9ca5cedc8d23f2d40d3a7dd Mon Sep 17 00:00:00 2001 From: Daniel McCarney Date: Thu, 22 Jun 2023 15:26:14 -0400 Subject: [PATCH] ci: add benchmarking workflow. This workflow runs `cargo bench` on rust stable to prevent bitrot of the benchmarking tests. --- .github/workflows/bench.yml | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 .github/workflows/bench.yml diff --git a/.github/workflows/bench.yml b/.github/workflows/bench.yml new file mode 100644 index 00000000..2fd51862 --- /dev/null +++ b/.github/workflows/bench.yml @@ -0,0 +1,15 @@ +name: Benchmarking +permissions: + contents: read +on: + pull_request: + push: +jobs: + linting: + runs-on: ubuntu-latest + name: Bench + steps: + - name: Check out source repository + uses: actions/checkout@v3 + - uses: dtolnay/rust-toolchain@stable + - run: cargo bench