From 010eb5270f041e95afc631a40885bbab4e22d04b Mon Sep 17 00:00:00 2001 From: Vladislav Yaroslavlev Date: Tue, 17 Feb 2026 16:17:30 +0300 Subject: [PATCH 1/4] add git action to build and test every PR --- .github/workflows/rust.yml | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/.github/workflows/rust.yml b/.github/workflows/rust.yml index 71f9f4e..067e6dd 100644 --- a/.github/workflows/rust.yml +++ b/.github/workflows/rust.yml @@ -42,5 +42,11 @@ jobs: - name: Build Release run: cargo build --release --verbose + - name: Run tests + run: cargo test --verbose + + - name: Run clippy + run: cargo clippy -- -D warnings + - name: Check for unused dependencies run: cargo udeps || true From cb3d32cc890b3771990e9a77b4c49a00a12d251a Mon Sep 17 00:00:00 2001 From: Vladislav Yaroslavlev Date: Tue, 17 Feb 2026 16:35:03 +0300 Subject: [PATCH 2/4] comment -D warnings for clippy --- .github/workflows/rust.yml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.github/workflows/rust.yml b/.github/workflows/rust.yml index 067e6dd..5079bd9 100644 --- a/.github/workflows/rust.yml +++ b/.github/workflows/rust.yml @@ -45,8 +45,10 @@ jobs: - name: Run tests run: cargo test --verbose +# -D warnings commented out because of active development of telemt +# and many warnings - name: Run clippy - run: cargo clippy -- -D warnings + run: cargo clippy # -- -D warnings - name: Check for unused dependencies run: cargo udeps || true From 9886c9a8e7bea625853673b340157e3327a5d49a Mon Sep 17 00:00:00 2001 From: Vladislav Yaroslavlev Date: Tue, 17 Feb 2026 16:41:38 +0300 Subject: [PATCH 3/4] use -W warnings for clippy --- .github/workflows/rust.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/rust.yml b/.github/workflows/rust.yml index 5079bd9..198a1b6 100644 --- a/.github/workflows/rust.yml +++ b/.github/workflows/rust.yml @@ -45,10 +45,10 @@ jobs: - name: Run tests run: cargo test --verbose -# -D warnings commented out because of active development of telemt +# clippy commented out because of active development of telemt # and many warnings - name: Run clippy - run: cargo clippy # -- -D warnings + run: cargo clippy -- -W warnings - name: Check for unused dependencies run: cargo udeps || true From 9b5b382593fb281ddeaab8f73a740a5f5d9903de Mon Sep 17 00:00:00 2001 From: Vladislav Yaroslavlev Date: Tue, 17 Feb 2026 17:00:17 +0300 Subject: [PATCH 4/4] dont fail on loop error --- .github/workflows/rust.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/rust.yml b/.github/workflows/rust.yml index 198a1b6..effe3ea 100644 --- a/.github/workflows/rust.yml +++ b/.github/workflows/rust.yml @@ -45,10 +45,10 @@ jobs: - name: Run tests run: cargo test --verbose -# clippy commented out because of active development of telemt +# clippy dont fail on warnings because of active development of telemt # and many warnings - name: Run clippy - run: cargo clippy -- -W warnings + run: cargo clippy -- --cap-lints warn - name: Check for unused dependencies run: cargo udeps || true