Skip to content

🔨 Feature/sha256 (#240) #429

🔨 Feature/sha256 (#240)

🔨 Feature/sha256 (#240) #429

Workflow file for this run

name: lint
on:
push:
branches: [main]
pull_request:
env:
CARGO_TERM_COLOR: always
jobs:
clippy:
runs-on: ubuntu-latest
timeout-minutes: 60
steps:
- name: Checkout repo
uses: actions/checkout@v2
- uses: dtolnay/rust-toolchain@stable
- name: Use Cache
uses: Swatinem/rust-cache@v1
- name: Lint
uses: actions-rs/cargo@v1
with:
command: clippy
args: --no-deps --workspace
rustfmt:
runs-on: ubuntu-latest
timeout-minutes: 60
steps:
- name: Checkout repo
uses: actions/checkout@v2
- uses: dtolnay/rust-toolchain@stable
- name: Check Formatting
uses: actions-rs/cargo@v1
with:
command: fmt
args: --all -- --check