You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@avro.apache.org by mg...@apache.org on 2023/08/10 07:47:40 UTC
[avro] branch avro-3828-fix-ci-build-warnings created (now d95112725)
This is an automated email from the ASF dual-hosted git repository.
mgrigorov pushed a change to branch avro-3828-fix-ci-build-warnings
in repository https://gitbox.apache.org/repos/asf/avro.git
at d95112725 AVRO-3828: [Rust] Enable "RUSTFLAGS=-Dwarnings" for all Rust CI workflows
This branch includes the following new commits:
new d95112725 AVRO-3828: [Rust] Enable "RUSTFLAGS=-Dwarnings" for all Rust CI workflows
The 1 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails. The revisions
listed as "add" were already present in the repository and have only
been added to this reference.
[avro] 01/01: AVRO-3828: [Rust] Enable "RUSTFLAGS=-Dwarnings" for all Rust CI workflows
Posted by mg...@apache.org.
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 <mg...@apache.org>
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 <mg...@apache.org>
---
.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