Skip to content

Safer handling of DeviceType value coming from FFI (#90) #304

Safer handling of DeviceType value coming from FFI (#90)

Safer handling of DeviceType value coming from FFI (#90) #304

Workflow file for this run

name: Test CI
on: [push, pull_request]
env:
CARGO_TERM_COLOR: always
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
submodules: true
- name: Setup Build Environment
run: |
sudo apt update
sudo apt install libudev-dev libhidapi-dev
- name: Setup rust toolchain
uses: dtolnay/rust-toolchain@stable
- uses: davidB/rust-cargo-make@v1
with:
version: 0.37.23
- uses: Swatinem/rust-cache@v2
- name: Run tests
run: cargo make test-flow
- name: Verify generated headers
run: cargo make verify-headers