From 96c2d360ed9a32fe38c3850f185d3b0d7210d3ac Mon Sep 17 00:00:00 2001 From: chefsale Date: Fri, 1 Nov 2024 15:57:59 +0100 Subject: [PATCH 1/2] remove warnings from clippy --- .github/actions/style/action.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/actions/style/action.yml b/.github/actions/style/action.yml index c41c53539..fd4532a5b 100644 --- a/.github/actions/style/action.yml +++ b/.github/actions/style/action.yml @@ -41,7 +41,7 @@ runs: echo "Rust code is not properly formatted." exit 1 # Exit with a non-zero status code if formatting fails fi - if ! cargo clippy -- -D warnings; then + if ! cargo clippy; then echo "Rust code is not properly linted." exit 1 # Exit with a non-zero status code if formatting fails fi From f5ed83688baa8fd1061580c8a37cdda1dfcade6d Mon Sep 17 00:00:00 2001 From: Sandi Fatic Date: Fri, 1 Nov 2024 15:01:17 +0000 Subject: [PATCH 2/2] Update .github/actions/style/action.yml Co-authored-by: Miraculous Owonubi --- .github/actions/style/action.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/actions/style/action.yml b/.github/actions/style/action.yml index fd4532a5b..4d8b59cde 100644 --- a/.github/actions/style/action.yml +++ b/.github/actions/style/action.yml @@ -41,7 +41,7 @@ runs: echo "Rust code is not properly formatted." exit 1 # Exit with a non-zero status code if formatting fails fi - if ! cargo clippy; then + if ! cargo clippy -- -A warnings; then echo "Rust code is not properly linted." exit 1 # Exit with a non-zero status code if formatting fails fi