Krolyxon
Commit 7c15b41

Branches

Refs →

budctl.githubworkflowsci.yml

22 lines · 617 B · YAML

1name: CI
2
3# Formatting, lints and tests on every push to master and every pull request.
4
5on:
6 push:
7 branches: [master]
8 pull_request:
9
10jobs:
11 check:
12 runs-on: ubuntu-22.04
13 steps:
14 - uses: actions/checkout@v6
15 - uses: dtolnay/rust-toolchain@stable
16 with:
17 components: clippy, rustfmt
18 - run: sudo apt-get update && sudo apt-get install -y pkg-config libwayland-dev libxkbcommon-dev
19 - run: cargo fmt --all -- --check
20 - run: cargo clippy --workspace --all-targets --locked -- -D warnings
21 - run: cargo test --workspace --locked
22 - run: sh -n install.sh