name: Benchmark on: pull_request: types: [opened, synchronize, reopened] paths-ignore: - '**.md' - 'demo/**' - 'docs/**' - 'homebrew-formula/**' push: branches: [main] paths-ignore: - '**.md' - 'demo/**' - 'docs/**' - 'homebrew-formula/**' workflow_dispatch: jobs: check_benchmark: runs-on: ubuntu-latest steps: - name: Checkout sources uses: actions/checkout@v3 - name: Check benchmark run: cargo bench