1
0
Fork 0
mirror of synced 2024-05-15 18:02:53 +12:00
czkawka/.github/workflows/quality.yml
Rafał Mikrut 04a91aeca7
Change Github CI (#973)
* Change Github CI

* Windows CI

* Fix sorting

* Windows
2023-05-14 15:00:53 +02:00

31 lines
613 B
YAML

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@v3
- name: Install Gtk 4
run: sudo apt-get update; sudo apt install -y libgtk-4-dev libheif-dev -y
- name: Check the format
run: cargo fmt --all -- --check
# type complexity must be ignored because we use huge templates for queries
- name: Run clippy
run: >
cargo clippy
--all-targets
--all-features
--
-D warnings