Reformat a lot of code, fix many typos, and improve readability #2471
This file contains 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-22.04 | |
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 -y | |
- name: Check the format | |
run: cargo fmt --all -- --check | |
- name: Run clippy | |
run: cargo clippy --all-targets --all-features -- -D warnings | |
- name: Run clippy | |
run: cargo clippy -- -D warnings |