add rustfmt, clippy validation

This commit is contained in:
yggverse 2024-12-04 05:20:23 +02:00
parent dd52b6ce2e
commit 612691c208

View File

@ -17,6 +17,10 @@ jobs:
steps: steps:
- uses: actions/checkout@v4 - uses: actions/checkout@v4
- name: Run rustfmt
run: cargo fmt --all -- --check
- name: Run clippy
run: cargo clippy --all-targets
- name: Install system packages - name: Install system packages
run: sudo apt install -y libgtk-4-dev libadwaita-1-dev libsqlite3-dev run: sudo apt install -y libgtk-4-dev libadwaita-1-dev libsqlite3-dev
- name: Build - name: Build