Skip to content

Merge pull request #17 from WGuLL/dependabot/cargo/serial_term/eframe… #30

Merge pull request #17 from WGuLL/dependabot/cargo/serial_term/eframe…

Merge pull request #17 from WGuLL/dependabot/cargo/serial_term/eframe… #30

name: Rust
on:
push:
branches: [ "master" ]
pull_request:
branches: [ "master" ]
env:
CARGO_TERM_COLOR: always
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Install dependencies
run: |
sudo apt-get install -y libudev-dev
- name: Build
run: |
cd serial_term
cargo build --verbose
- name: Run tests
run: |
cd serial_term
cargo test --verbose
cargo clippy -- -D warnings