Skip to content

Upgrade default generated versions of ffigen and logging #306

Upgrade default generated versions of ffigen and logging

Upgrade default generated versions of ffigen and logging #306

Workflow file for this run

name: Clippy & Format
on:
- push
- pull_request
env:
CARGO_TERM_COLOR: always
jobs:
lint:
name: clippy and rustfmt
runs-on: ubuntu-latest
steps:
- name: Checkout sources
uses: actions/checkout@v2
- name: Install toolchain
uses: actions-rs/toolchain@v1
with:
profile: minimal
toolchain: stable
override: true
components: rustfmt, clippy
- name: Run cargo fmt
uses: actions-rs/cargo@v1
with:
command: fmt
args: --all -- --check
- name: Run cargo clippy
uses: actions-rs/cargo@v1
with:
command: clippy
args: -- -D warnings -A clippy::uninlined_format_args