Skip to content

Install multiple icon sizes into the AppImage hicolor theme #15

Install multiple icon sizes into the AppImage hicolor theme

Install multiple icon sizes into the AppImage hicolor theme #15

Workflow file for this run

name: CI
on:
push:
branches: [main, develop]
paths-ignore: ["**.md", "docs/**", "assets/icons/**"]
pull_request:
workflow_dispatch:
env:
CARGO_TERM_COLOR: always
CARGO_INCREMENTAL: "0"
jobs:
quality:
name: Format · Clippy · Test
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Install slint build dependencies
run: |
sudo apt-get update
sudo apt-get install -y \
libxkbcommon-dev libwayland-dev wayland-protocols \
libxcb1-dev libxcb-render0-dev libxcb-shape0-dev libxcb-xfixes0-dev \
libfontconfig1-dev libgl1-mesa-dev
- name: Install Rust toolchain
uses: dtolnay/rust-toolchain@stable
with:
components: rustfmt, clippy
- uses: Swatinem/rust-cache@v2
- name: Format
run: cargo fmt --all --check
- name: Clippy
run: cargo clippy --all-targets -- -D warnings
- name: Test
run: cargo test
coverage:
name: Coverage (core ≥ 80%)
# The instrumented build is the most expensive job, so only run it where it
# matters: pull requests and pushes to main (not on every develop push).
if: github.event_name != 'push' || github.ref == 'refs/heads/main'
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Install slint build dependencies
run: |
sudo apt-get update
sudo apt-get install -y \
libxkbcommon-dev libwayland-dev wayland-protocols \
libxcb1-dev libxcb-render0-dev libxcb-shape0-dev libxcb-xfixes0-dev \
libfontconfig1-dev libgl1-mesa-dev
- name: Install Rust toolchain
uses: dtolnay/rust-toolchain@stable
with:
components: llvm-tools-preview
- uses: Swatinem/rust-cache@v2
- name: Install cargo-llvm-cov
uses: taiki-e/install-action@v2
with:
tool: cargo-llvm-cov
- name: Library coverage (fail under 80% lines)
run: cargo llvm-cov --lib --fail-under-lines 80