Skip to content

Merge pull request #33 from flashbots/extra-logging #43

Merge pull request #33 from flashbots/extra-logging

Merge pull request #33 from flashbots/extra-logging #43

Workflow file for this run

name: Linting
on:
push:
branches:
- main
pull_request:
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v2
- name: Set up Rust
uses: actions-rs/toolchain@v1
with:
toolchain: stable
override: true
components: rustfmt
- name: Build
run: cargo build --verbose
- name: Lint
run: cargo clippy -- -D warnings
- name: Format code
run: cargo fmt -- --check