You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@rocketmq.apache.org by aa...@apache.org on 2023/04/23 14:21:24 UTC
[rocketmq-clients] branch revert-494-dev created (now f711e2d7)
This is an automated email from the ASF dual-hosted git repository.
aaronai pushed a change to branch revert-494-dev
in repository https://gitbox.apache.org/repos/asf/rocketmq-clients.git
at f711e2d7 Revert "Remove clippy for testing (#494)"
This branch includes the following new commits:
new f711e2d7 Revert "Remove clippy for testing (#494)"
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.
[rocketmq-clients] 01/01: Revert "Remove clippy for testing (#494)"
Posted by aa...@apache.org.
This is an automated email from the ASF dual-hosted git repository.
aaronai pushed a commit to branch revert-494-dev
in repository https://gitbox.apache.org/repos/asf/rocketmq-clients.git
commit f711e2d733a1b473a250228a3814d8d0ba11d3b8
Author: Aaron Ai <ya...@gmail.com>
AuthorDate: Sun Apr 23 22:21:18 2023 +0800
Revert "Remove clippy for testing (#494)"
This reverts commit 23c87ad0fbb2cecda15e3910b6fabbc946390ae1.
---
.github/workflows/rust_build.yml | 20 ++++++++++++++++++++
1 file changed, 20 insertions(+)
diff --git a/.github/workflows/rust_build.yml b/.github/workflows/rust_build.yml
index eb39e57d..404c2104 100644
--- a/.github/workflows/rust_build.yml
+++ b/.github/workflows/rust_build.yml
@@ -17,6 +17,26 @@ jobs:
- name: Code format check
working-directory: ./rust
run: cargo fmt --check
+ clippy:
+ runs-on: ubuntu-latest
+ name: clippy check
+ permissions: write-all
+ strategy:
+ fail-fast: false
+ steps:
+ - uses: actions/checkout@v3
+ with:
+ submodules: true
+ - name: Install stable
+ uses: actions-rs/toolchain@v1
+ with:
+ toolchain: stable
+ components: clippy
+ - name: Clippy check
+ uses: actions-rs/clippy-check@v1
+ with:
+ token: ${{ secrets.GITHUB_TOKEN }}
+ args: --all-features --manifest-path rust/Cargo.toml -- -D warnings
doc:
runs-on: ubuntu-latest
name: doc check