1
0
Fork 0
mirror of synced 2024-10-01 01:27:17 +13:00
czkawka/.github/workflows/quality.yml
Rafał Mikrut 26ce7de410 ID
2023-11-26 13:33:53 +01:00

24 lines
483 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 update || true; sudo apt install -y libgtk-4-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