Skip to content

Merge pull request #43 from flashbots/release-cache #71

Merge pull request #43 from flashbots/release-cache

Merge pull request #43 from flashbots/release-cache #71

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