Skip to content

Allow cross with Zig #22

Allow cross with Zig

Allow cross with Zig #22

Workflow file for this run

name: Lint
on: push
env:
CARGO_TERM_COLOR: always
jobs:
lint:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Install libudev-dev
run: sudo apt-get update && sudo apt-get install libudev-dev
- name: Install latest Rust nightly
uses: actions-rs/toolchain@v1
with:
toolchain: nightly
override: true
components: rustc, rustfmt
- name: Run cargo check
uses: actions-rs/cargo@v1
with:
command: check
- name: Run cargo fmt -- --check
uses: actions-rs/cargo@v1
with:
command: fmt
args: -- --check