1
0
mirror of https://github.com/fafhrd91/actix-web synced 2024-11-27 17:52:56 +01:00
actix-web/.github/workflows/bench.yml
2023-10-29 01:56:10 +00:00

29 lines
515 B
YAML

name: Benchmark
on:
push:
branches: [master]
permissions:
contents: read
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
jobs:
check_benchmark:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Install Rust
run: |
rustup set profile minimal
rustup install nightly
rustup override set nightly
- name: Check benchmark
run: cargo bench --bench=server -- --sample-size=15