Skip to content

feat(deck): rounded key tiles, larger icons, regular-weight titles with letter spacing #109

feat(deck): rounded key tiles, larger icons, regular-weight titles with letter spacing

feat(deck): rounded key tiles, larger icons, regular-weight titles with letter spacing #109

Workflow file for this run

name: Rust Clippy
on:
push:
branches:
- main
pull_request:
permissions:
contents: read
concurrency:
group: rust-clippy-${{ github.ref }}
cancel-in-progress: true
jobs:
clippy:
runs-on: ubuntu-latest
timeout-minutes: 30
steps:
- uses: actions/checkout@v4
# Pinned toolchain (NOT @stable): keeps green-local <=> green-CI deterministic.
# Current stable (1.97.x) already adds default-warn lints this branch was not
# validated against. Bump this pin deliberately: update the version, re-run the
# gate locally on that toolchain, fix new lints in the same PR.
- uses: dtolnay/rust-toolchain@master
with:
toolchain: 1.96.0
components: clippy, rustfmt
- uses: Swatinem/rust-cache@v2
# freshell-tauri (Tauri v2 / WRY) needs GTK+WebKit system libs to compile
# on ubuntu-latest; installing them keeps the gate truly --workspace.
- name: Install Tauri system dependencies
run: |
sudo apt-get update
sudo apt-get install -y --no-install-recommends \
libwebkit2gtk-4.1-dev libgtk-3-dev libsoup-3.0-dev \
libjavascriptcoregtk-4.1-dev librsvg2-dev \
libayatana-appindicator3-dev pkg-config build-essential
- name: cargo fmt
run: cargo fmt --all --check
- name: cargo clippy (workspace)
run: cargo clippy --workspace --all-targets -- -D warnings
# --all-targets does not imply --all-features: the real-transport
# backends are default-off and would otherwise go unlinted.
- name: cargo clippy (feature-gated backends)
run: |
cargo clippy -p freshell-codex --features real-transport --all-targets -- -D warnings
cargo clippy -p freshell-opencode --features real-transport --all-targets -- -D warnings