1
0
Fork 0
mirror of https://github.com/actix/actix-web.git synced 2024-11-14 04:41:15 +00:00
actix-web/.github/workflows/bench.yml

34 lines
630 B
YAML
Raw Normal View History

2021-02-07 20:33:53 +00:00
name: Benchmark
on:
push:
branches:
- master
permissions:
2023-03-15 13:32:55 +00:00
contents: read # to fetch code (actions/checkout)
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
jobs:
check_benchmark:
runs-on: ubuntu-latest
steps:
2023-03-11 23:19:03 +00:00
- uses: actions/checkout@v3
- name: Install Rust
uses: actions-rs/toolchain@v1
with:
toolchain: nightly
profile: minimal
override: true
- name: Check benchmark
uses: actions-rs/cargo@v1
with:
command: bench
2020-05-20 13:33:25 +00:00
args: --bench=server -- --sample-size=15