name: CI on: push: branches: [main] pull_request: jobs: check: runs-on: ubuntu-latest container: archlinux:latest steps: - name: Prepare container run: pacman -Syu --noconfirm --needed base-devel git rust dbus - name: Checkout uses: builtin:checkout - name: Format, lint, build run: | cargo fmt --check cargo clippy --locked --release -- -D warnings cargo build --locked --release - name: PKGBUILD and Cargo.toml agree run: scripts/check-version