Convert czkawka gui config to json(from custom and broken loader/saver), ignore image extension when reading them #2987
Workflow file for this run
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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.86.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 ../../ |