martin/.github/workflows/bench.yml

28 lines
494 B
YAML
Raw Normal View History

2021-07-23 11:04:34 +03:00
name: Benchmark
on:
pull_request:
types: [opened, synchronize, reopened]
push:
branches:
- main
2021-07-23 11:04:34 +03:00
jobs:
check_benchmark:
runs-on: ubuntu-latest
steps:
- name: Checkout sources
uses: actions/checkout@v2
- name: Install stable toolchain
uses: actions-rs/toolchain@v1
with:
toolchain: stable
override: true
- name: Check benchmark
uses: actions-rs/cargo@v1
with:
command: bench