Skip to content

Add receive_color_scheme_changed_with_init #1109

Add receive_color_scheme_changed_with_init

Add receive_color_scheme_changed_with_init #1109

Workflow file for this run

on:
push:
branches: [master]
pull_request:
name: CI
jobs:
check:
name: Check
runs-on: ubuntu-22.04
container:
image: ghcr.io/gtk-rs/gtk4-rs/gtk4:latest
steps:
- uses: actions/checkout@v3
- name: Install dependencies
run: sudo dnf install -y pipewire-devel clang-devel
- uses: actions-rs/toolchain@v1
with:
profile: minimal
toolchain: stable
override: true
- uses: actions-rs/cargo@v1
with:
command: check
args: --features "gtk4,pipewire,wayland,raw_handle,tracing"
test:
name: Test Suite
runs-on: ubuntu-22.04
container:
image: ghcr.io/gtk-rs/gtk4-rs/gtk4:latest
steps:
- uses: actions/checkout@v3
- name: Install dependencies
run: sudo dnf install -y pipewire-devel clang-devel
- uses: actions-rs/toolchain@v1
with:
profile: minimal
toolchain: stable
override: true
- uses: actions-rs/cargo@v1
with:
command: test
args: --features "gtk4,pipewire,wayland,raw_handle,tracing"
fmt:
name: Rustfmt
runs-on: ubuntu-22.04
container:
image: ghcr.io/gtk-rs/gtk4-rs/gtk4:latest
steps:
- uses: actions/checkout@v3
- name: Install dependencies
run: sudo dnf install -y pipewire-devel clang-devel
- uses: actions-rs/toolchain@v1
with:
profile: minimal
toolchain: stable
override: true
- run: rustup component add rustfmt
- uses: actions-rs/cargo@v1
with:
command: fmt
args: --all -- --check
clippy:
name: Clippy
runs-on: ubuntu-22.04
container:
image: ghcr.io/gtk-rs/gtk4-rs/gtk4:latest
steps:
- uses: actions/checkout@v3
- name: Install dependencies
run: sudo dnf install -y pipewire-devel clang-devel
- uses: actions-rs/toolchain@v1
with:
profile: minimal
toolchain: stable
override: true
- run: rustup component add clippy
- uses: actions-rs/cargo@v1
with:
command: clippy
args: --features "gtk4,pipewire,wayland,raw_handle,tracing" -- -D warnings