Files
clipbin-desktop/.gitea/workflows/checks.yml
T
harry eb364d25e2
Rust checks / checks (push) Successful in 3m35s
chore: scaffold Rust workspace and native GPUI shell
2026-10-08 12:19:45 +02:00

25 lines
777 B
YAML

name: Rust checks
on:
push:
pull_request:
jobs:
checks:
runs-on: ubuntu-latest
steps:
- uses: https://github.com/actions/checkout@v4
- uses: https://github.com/dtolnay/rust-toolchain@1.98.0
with:
components: rustfmt, clippy
- name: Install native UI build dependencies
run: |
sudo apt-get update
sudo apt-get install -y build-essential pkg-config libfontconfig1-dev libfreetype6-dev libwayland-dev libxcb1-dev libxkbcommon-dev libxkbcommon-x11-dev libssl-dev
- name: Check formatting
run: cargo fmt --all -- --check
- name: Check Rust
run: cargo clippy --locked --workspace --all-targets -- -D warnings
- name: Build
run: cargo build --locked --workspace