Skip to content

feat: add just and ci #6

feat: add just and ci

feat: add just and ci #6

Workflow file for this run

name: cargo fmt, clippy and test on PR
on:
pull_request:
env:
CARGO_TERM_COLOR: always
jobs:
check:
name: check fmt and clippy
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/[email protected]
- name: Use the rust-toolchain
uses: actions-rust-lang/setup-rust-toolchain@v1
- name: Install dependencies
shell: bash
run: |
sudo apt-get install g++ pkg-config libx11-dev libasound2-dev libudev-dev libxkbcommon-x11-0
- name: Check fmt
uses: actions-rust-lang/rustfmt@v1
- name: Check clippy
run: cargo clippy
- name: Check test
run: cargo test --all-features