1
0
Fork 0
mirror of https://github.com/actix/actix-web.git synced 2024-11-29 21:11:17 +00:00
actix-web/.github/workflows/bench.yml

29 lines
515 B
YAML
Raw Normal View History

2021-02-07 20:33:53 +00:00
name: Benchmark
on:
push:
2023-08-01 18:33:32 +00:00
branches: [master]
permissions:
2023-10-29 01:56:10 +00:00
contents: read
2023-03-15 13:32:55 +00:00
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
2023-04-23 19:46:57 +00:00
run: |
rustup set profile minimal
rustup install nightly
rustup override set nightly
- name: Check benchmark
2023-04-23 19:46:57 +00:00
run: cargo bench --bench=server -- --sample-size=15