Skip to content

build: update udev to 0.9 #12

build: update udev to 0.9

build: update udev to 0.9 #12

Workflow file for this run

# SPDX-FileCopyrightText: © 2023 Foundation Devices, Inc. <[email protected]>
# SPDX-FileCopyrightText: © 2023 Jean-Pierre De Jesus DIAZ <[email protected]>
# SPDX-License-Identifier: GPL-3.0-or-later
name: Lint
on: [push]
jobs:
is-reuse-compliant:
name: Is REUSE compliant?
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: fsfe/reuse-action@v1
is-the-code-compilable:
name: Is the code compilable?
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: dtolnay/rust-toolchain@stable
with:
toolchain: 1.56
- run: sudo apt-get install -y libudev-dev
- run: cargo check
- run: cargo check --no-default-features
- run: cargo check --all-features
is-the-code-formatted:
name: Is the code formatted?
needs: [ is-the-code-compilable ]
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: dtolnay/rust-toolchain@stable
with:
toolchain: 1.56
components: rustfmt
- run: cargo fmt --all -- --check
tests-pass:
name: Tests pass?
needs: [ is-the-code-compilable ]
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: dtolnay/rust-toolchain@stable
with:
toolchain: 1.56
- run: sudo apt-get install -y libudev-dev
- run: cargo test
- run: cargo test --no-default-features
- run: cargo test --all-features