This is an automated email from the ASF dual-hosted git repository.

mgrigorov pushed a commit to branch avro-3828-fix-ci-build-warnings
in repository https://gitbox.apache.org/repos/asf/avro.git

commit d95112725cdd3e2b420fa5be8457b04896466755
Author: Martin Tzvetanov Grigorov <[email protected]>
AuthorDate: Thu Aug 10 10:44:11 2023 +0300

    AVRO-3828: [Rust] Enable "RUSTFLAGS=-Dwarnings" for all Rust CI workflows
    
    Signed-off-by: Martin Tzvetanov Grigorov <[email protected]>
---
 .github/workflows/test-lang-rust-audit.yml  | 6 ++++++
 .github/workflows/test-lang-rust-ci.yml     | 6 ++++++
 .github/workflows/test-lang-rust-clippy.yml | 6 ++++++
 3 files changed, 18 insertions(+)

diff --git a/.github/workflows/test-lang-rust-audit.yml 
b/.github/workflows/test-lang-rust-audit.yml
index f8ec89c6e..9a59d8a98 100644
--- a/.github/workflows/test-lang-rust-audit.yml
+++ b/.github/workflows/test-lang-rust-audit.yml
@@ -27,6 +27,12 @@ on:
       - lang/rust/Cargo.toml
       - lang/rust/Cargo.lock
 
+permissions:
+  contents: read
+
+env:
+  RUSTFLAGS: -Dwarnings
+
 defaults:
   run:
     working-directory: lang/rust
diff --git a/.github/workflows/test-lang-rust-ci.yml 
b/.github/workflows/test-lang-rust-ci.yml
index 38e1d8664..c96134efb 100644
--- a/.github/workflows/test-lang-rust-ci.yml
+++ b/.github/workflows/test-lang-rust-ci.yml
@@ -26,6 +26,12 @@ on:
       - .github/workflows/test-lang-rust-ci.yml
       - lang/rust/**
 
+permissions:
+  contents: read
+
+env:
+  RUSTFLAGS: -Dwarnings
+
 defaults:
   run:
     working-directory: lang/rust
diff --git a/.github/workflows/test-lang-rust-clippy.yml 
b/.github/workflows/test-lang-rust-clippy.yml
index adafafd3f..1916032e2 100644
--- a/.github/workflows/test-lang-rust-clippy.yml
+++ b/.github/workflows/test-lang-rust-clippy.yml
@@ -26,6 +26,12 @@ on:
       - .github/workflows/test-lang-rust-clippy.yml
       - lang/rust/**
 
+permissions:
+  contents: read
+
+env:
+  RUSTFLAGS: -Dwarnings
+
 defaults:
   run:
     working-directory: lang/rust

Reply via email to