Skip to content

Fix license files #2983

Fix license files

Fix license files #2983

Workflow file for this run

name: Quality
on:
push:
pull_request:
schedule:
- cron: '0 0 * * 2'
env:
CARGO_TERM_COLOR: always
jobs:
quality:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Install Gtk 4
run: sudo apt update || true; sudo apt install -y libgtk-4-dev libraw-dev libheif-dev libavif-dev libdav1d-dev -y
- name: Setup rust version
run: |
rustup default 1.85.0
rustup component add rustfmt
rustup component add clippy
- name: Disable optimizations
run: |
sed -i 's/^\(\[profile\.dev\.package.*\)/#\1/' Cargo.toml
sed -i 's|^opt-level = 3 # OPT PACKAGES|#opt-level = 3 # OPT PACKAGES|' Cargo.toml
- name: Check the format
run: cargo fmt --all -- --check
- name: Run clippy
run: |
cargo clippy --all-targets --all-features -- -D warnings
cargo clippy --all-targets -- -D warnings
- name: Check tools
run: |
cd misc/test_image_perf
cargo check
cd ../../
cd misc/test_read_perf
cargo check
cd ../../