Skip to content

Update user fragments #1137

Update user fragments

Update user fragments #1137

Workflow file for this run

name: Build
on:
pull_request:
paths:
- '**.rs'
- '**/Cargo.toml'
- 'Cargo.lock'
push:
branches:
- main
paths:
- '**.rs'
- '**/Cargo.toml'
- 'Cargo.lock'
merge_group:
paths:
- '**.rs'
- '**/Cargo.toml'
- 'Cargo.lock'
env:
CARGO_TERM_COLOR: always
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Install deps
run: |
sudo apt update
sudo apt install \
build-essential \
git \
pkg-config \
libdbus-1-dev \
libudev-dev \
libxkbcommon-dev \
libfontconfig1-dev \
libasound2-dev
- name: Check
run: cargo check
- name: Clippy
run: cargo clippy --workspace --all-targets -- -D warnings
- name: Test
run: cargo test --workspace --all-targets