Skip to content

docs(readme): add animated tray demo #43

docs(readme): add animated tray demo

docs(readme): add animated tray demo #43

Workflow file for this run

name: CI
on:
push:
branches: [main]
pull_request:
branches: [main]
env:
CARGO_TERM_COLOR: always
RUSTFLAGS: "-D warnings"
jobs:
fmt:
name: rustfmt
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v6
- uses: dtolnay/rust-toolchain@stable
with:
components: rustfmt
- run: cargo fmt --all -- --check
clippy-and-test:
name: clippy + test (windows-latest)
runs-on: windows-latest
steps:
- uses: actions/checkout@v6
- uses: dtolnay/rust-toolchain@stable
with:
components: clippy
- uses: Swatinem/rust-cache@v2
# Windows CI runners don't have a configured MSVC linker path matching
# the one pinned in .cargo/config.toml. Skip that config for CI so the
# bundled MSVC toolchain is used directly.
- name: Remove local linker override
shell: pwsh
run: Remove-Item -Force .cargo/config.toml
- name: Clippy
run: cargo clippy --all-targets -- -D warnings
- name: Build
run: cargo build --all-targets --verbose
- name: Test
run: cargo test --all-targets --verbose