Skip to content

socket: Support NETLINK_GET_STRICT_CHK #33

socket: Support NETLINK_GET_STRICT_CHK

socket: Support NETLINK_GET_STRICT_CHK #33

Workflow file for this run

name: Rustfmt and clippy check
on:
pull_request:
types: [opened, synchronize, reopened]
push:
branches:
- main
jobs:
rustfmt_clippy:
strategy:
fail-fast: true
name: Rustfmt and clippy check
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Install Rust Nightly
run: |
rustup override set nightly
rustup update nightly
rustup component add rustfmt clippy
- name: rustfmt
run: cargo fmt --all -- --check
- name: clippy
run: cargo clippy
- name: clippy-tokio-socket
run: cargo clippy --no-default-features --features tokio_socket
- name: clippy-mio-socket
run: cargo clippy --no-default-features --features mio_socket
- name: clippy-smol-socket
run: cargo clippy --no-default-features --features smol_socket