Skip to content
This repository was archived by the owner on Oct 31, 2025. It is now read-only.

swww-query: support json printing #9

swww-query: support json printing

swww-query: support json printing #9

Workflow file for this run

name: Clippy
on:
pull_request:
paths:
- '**.rs'
- '**Cargo.toml'
merge_group:
push:
branches:
- main
paths:
- '**.rs'
- '**Cargo.toml'
env:
CARGO_TERM_COLOR: always
SCCACHE_GHA_ENABLED: "true"
RUSTC_WRAPPER: "sccache"
jobs:
clippy:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v5
- uses: mozilla-actions/[email protected]
- uses: dtolnay/rust-toolchain@stable
with:
components: clippy
- run: sudo apt install -y libwayland-dev wayland-protocols
- run: cargo clippy --version
- run: cargo clippy --workspace --locked --tests
fmt:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v5
- uses: mozilla-actions/[email protected]
- uses: dtolnay/rust-toolchain@stable
with:
components: rustfmt
- run: cargo fmt --version
- run: cargo fmt --all --check