mirror of
https://github.com/actix/actix-web.git
synced 2024-11-14 04:41:15 +00:00
33 lines
630 B
YAML
33 lines
630 B
YAML
name: Benchmark
|
|
|
|
on:
|
|
push:
|
|
branches:
|
|
- master
|
|
|
|
permissions:
|
|
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:
|
|
- 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
|
|
args: --bench=server -- --sample-size=15
|