Skip to content

update workflow to add manual trigger #1

update workflow to add manual trigger

update workflow to add manual trigger #1

Workflow file for this run

name: benchmarks

Check failure on line 1 in .github/workflows/benchmarks.yml

View workflow run for this annotation

GitHub Actions / .github/workflows/benchmarks.yml

Invalid workflow file

`workflow_bench` is not a valid event name
on:
workflow_bench:
# push:
# branches: [ "master" ]
env:
MAINNET_EXECUTION_RPC: ${{ secrets.MAINNET_EXECUTION_RPC }}
GOERLI_EXECUTION_RPC: ${{ secrets.GOERLI_EXECUTION_RPC }}
jobs:
benches:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions-rs/toolchain@v1
with:
profile: minimal
toolchain: nightly
override: true
components: rustfmt
- uses: Swatinem/rust-cache@v2
- uses: actions-rs/cargo@v1
with:
command: bench