mirror of
https://github.com/actix/actix-web.git
synced 2024-11-29 21:11:17 +00:00
28 lines
532 B
YAML
28 lines
532 B
YAML
name: Benchmark
|
|
|
|
on:
|
|
pull_request:
|
|
types: [opened, synchronize, reopened]
|
|
push:
|
|
branches:
|
|
- master
|
|
|
|
jobs:
|
|
check_benchmark:
|
|
runs-on: ubuntu-latest
|
|
|
|
steps:
|
|
- uses: actions/checkout@v2
|
|
|
|
- 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
|