Accept block hashes for eth_getCode #8
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Check style | |
on: | |
pull_request: | |
push: | |
branches: | |
- master | |
tags: | |
- v* | |
paths-ignore: | |
- 'README.md' | |
jobs: | |
## Check stage | |
check-fmt: | |
name: Check RustFmt | |
runs-on: ubuntu-latest | |
env: | |
RUST_BACKTRACE: full | |
steps: | |
- name: Cancel Previous Runs | |
uses: styfle/[email protected] | |
with: | |
access_token: ${{ github.token }} | |
- name: Checkout sources & submodules | |
uses: actions/checkout@master | |
with: | |
fetch-depth: 5 | |
submodules: recursive | |
- name: Add rustfmt | |
run: rustup component add rustfmt | |
- name: rust-fmt check | |
uses: actions-rs/cargo@master | |
with: | |
command: fmt | |
args: --all -- --check --config merge_imports=true |