install libudev-dev in build workflow

This commit is contained in:
griffi-gh 2023-05-16 23:42:05 +02:00
parent 885b69be39
commit 2b97bc1a8d

View file

@ -8,14 +8,18 @@ on:
env: env:
CARGO_TERM_COLOR: always CARGO_TERM_COLOR: always
CARGO_TERM_PROGRESS_WHEN: "never" CARGO_TERM_PROGRESS_WHEN: never
jobs: jobs:
build: build:
runs-on: ubuntu-latest runs-on: ubuntu-latest
steps: steps:
- uses: actions/checkout@v3 - uses: actions/checkout@v3
- uses: Swatinem/rust-cache@v2 - name: Cache APT packages
uses: awalsh128/cache-apt-pkgs-action@v1.3.0
packages: libudev-dev
- name: Rust Cache
uses: Swatinem/rust-cache@v2.3.0
- name: Build - name: Build
run: cargo build run: cargo build
--release --release