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

swww-query: support json printing #12

swww-query: support json printing

swww-query: support json printing #12

Workflow file for this run

name: Test
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:
test:
runs-on: ubuntu-latest
strategy:
matrix:
toolchain: [stable, nightly]
steps:
- uses: actions/checkout@v5
- uses: mozilla-actions/[email protected]
- uses: dtolnay/rust-toolchain@master
with:
toolchain: ${{ matrix.toolchain }}
- uses: taiki-e/install-action@cargo-nextest
- run: sudo apt install -y libwayland-dev wayland-protocols
- run: cargo nextest run --workspace --locked
msrv:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v5
- uses: mozilla-actions/[email protected]
- uses: SebRollen/[email protected]
id: msrv
with:
file: 'Cargo.toml'
field: 'workspace.package.rust-version'
- uses: dtolnay/rust-toolchain@master
with:
toolchain: ${{ steps.msrv.outputs.value }}
- uses: taiki-e/install-action@cargo-nextest
- run: sudo apt install -y libwayland-dev wayland-protocols
- run: cargo nextest run --workspace --locked