cosmic-applets/.github/workflows/ci.yml
Vukašin Vojinović 2c618622d3 chore: update dependencies
Sets the resolver to 3, so it's Rust-version aware. Without it, some dependencies get updated to versions needing Rust versions newer than the target.
2025-08-18 16:44:50 +02:00

29 lines
828 B
YAML

name: Continuous Integration
on: [push, pull_request]
jobs:
formatting:
runs-on: ubuntu-24.04
steps:
- uses: actions/checkout@v4
- uses: dtolnay/rust-toolchain@nightly
with:
components: rustfmt
- name: Run rustfmt
run: cargo +nightly fmt --all -- --check
linting:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: dtolnay/rust-toolchain@master
with:
toolchain: 1.85.1
components: clippy
- name: install dependencies
run: sudo apt update && sudo apt install -y libxkbcommon-dev libwayland-dev libdbus-1-dev libpulse-dev libpipewire-0.3-dev libinput-dev
- uses: actions-rs-plus/clippy-check@v2
with:
toolchain: 1.85.1
args: --all --all-targets --all-features