Skip to content

Add CI checks

Add CI checks #1

Workflow file for this run

name: CI
on:
push:
branches: [ "main" ]
pull_request:
branches: [ "main" ]
env:
CARGO_TERM_COLOR: always
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Install dependencies
run: |
export DEBIAN_FRONTED=noninteractive
sudo apt-get -qq update
sudo apt-get install -y libxkbcommon-dev
- name: Format
run: cargo fmt --all -- --check
- name: Clippy
run: cargo clippy
- name: Check
run: cargo check
- name: Build
run: cargo build