Add linter to CI (#823)

Co-authored-by: wiesche <wiesche89@googlemail.com>
This commit is contained in:
ardocrat
2026-10-07 20:48:38 +03:00
committed by GitHub
co-authored by wiesche
parent ec1e9910af
commit fe79256467
87 changed files with 1300 additions and 1639 deletions
+12 -1
View File
@@ -2,6 +2,17 @@ name: Continuous Integration
on: [push, pull_request]
jobs:
clippy:
name: Cargo clippy
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v6
with:
submodules: recursive
- run: rustup toolchain install 1.99.0 --profile minimal --component clippy
- run: cargo +1.99.0 clippy --workspace --all-targets -- -D warnings
# Run tests alongside Clippy, even if lint fails
linux-tests:
name: Linux Tests
runs-on: ubuntu-latest
@@ -36,4 +47,4 @@ jobs:
with:
submodules: recursive
- name: Tests
run: cargo test --release --all
run: cargo test --release --all