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

erickguan pushed a commit to branch pr-7892-clippy
in repository https://gitbox.apache.org/repos/asf/opendal.git

commit a1919ec8d20c4bd82df319327a63b8aa214a4569
Author: Erick Guan <[email protected]>
AuthorDate: Fri Jul 10 10:19:10 2026 +0800

    Add clippy version printing
---
 .github/workflows/ci_bindings_c.yml               |  7 ++++-
 .github/workflows/ci_bindings_cpp.yml             | 11 +++++---
 .github/workflows/ci_bindings_dart.yml            |  5 ++++
 .github/workflows/ci_bindings_dotnet.yml          | 10 +++++---
 .github/workflows/ci_bindings_haskell.yml         |  8 ++++--
 .github/workflows/ci_bindings_java.yml            |  5 ++++
 .github/workflows/ci_bindings_lua.yml             | 13 ++++++++--
 .github/workflows/ci_bindings_nodejs.yml          |  4 +++
 .github/workflows/ci_bindings_ocaml.yml           |  8 ++++--
 .github/workflows/ci_bindings_php.yml             |  8 ++++--
 .github/workflows/ci_bindings_python.yml          | 20 +++++++++++++++
 .github/workflows/ci_bindings_ruby.yml            |  8 ++++--
 .github/workflows/ci_core.yml                     | 31 +++++++++++++++++++++++
 .github/workflows/ci_integration_dav_server.yml   |  5 ++++
 .github/workflows/ci_integration_object_store.yml |  5 ++++
 .github/workflows/ci_integration_parquet.yml      |  5 ++++
 .github/workflows/ci_integration_unftp_sbe.yml    |  5 ++++
 .github/workflows/ci_odev.yml                     |  5 ++++
 18 files changed, 146 insertions(+), 17 deletions(-)

diff --git a/.github/workflows/ci_bindings_c.yml 
b/.github/workflows/ci_bindings_c.yml
index af346c4ac..379ba734d 100644
--- a/.github/workflows/ci_bindings_c.yml
+++ b/.github/workflows/ci_bindings_c.yml
@@ -42,6 +42,7 @@ permissions:
 jobs:
   test:
     runs-on: ubuntu-latest
+
     steps:
       - uses: actions/checkout@v7
 
@@ -53,13 +54,17 @@ jobs:
           sudo apt-get update
           sudo apt-get install -y build-essential pkg-config uuid-dev 
libcurl4-gnutls-dev
 
+      # Useful for debugging
+      - name: Print Clippy version
+        working-directory: "bindings/c"
+        run: cargo clippy --version
+
       - name: Clippy Check
         working-directory: "bindings/c"
 
         run: |
           cargo clippy -- -D warnings
 
-
       - name: Build C binding
         working-directory: "bindings/c"
         run: |
diff --git a/.github/workflows/ci_bindings_cpp.yml 
b/.github/workflows/ci_bindings_cpp.yml
index bbadbb3fd..a38ad1e1f 100644
--- a/.github/workflows/ci_bindings_cpp.yml
+++ b/.github/workflows/ci_bindings_cpp.yml
@@ -43,6 +43,7 @@ permissions:
 jobs:
   test:
     runs-on: ubuntu-24.04
+
     steps:
       - uses: actions/checkout@v7
       - name: Install dependencies
@@ -52,11 +53,15 @@ jobs:
 
       - name: Setup Rust toolchain
         uses: ./.github/actions/setup
-      
+
+      # Useful for debugging
+      - name: Print Clippy version
+        working-directory: "bindings/cpp"
+        run: cargo clippy --version
+
       - name: Clippy Check
         working-directory: "bindings/cpp"
-        run: |
-          cargo clippy -- -D warnings
+        run: cargo clippy -- -D warnings
 
       - name: Build Cpp binding && Run tests
         working-directory: "bindings/cpp"
diff --git a/.github/workflows/ci_bindings_dart.yml 
b/.github/workflows/ci_bindings_dart.yml
index bcd7070cc..58569a1d3 100644
--- a/.github/workflows/ci_bindings_dart.yml
+++ b/.github/workflows/ci_bindings_dart.yml
@@ -77,6 +77,11 @@ jobs:
         working-directory: bindings/dart
         run: flutter pub get
 
+      # Useful for debugging
+      - name: Print Clippy version
+        working-directory: bindings/dart/rust
+        run: cargo clippy --version
+
       - name: Check Clippy
         working-directory: bindings/dart/rust
         run: cargo clippy -- -D warnings
diff --git a/.github/workflows/ci_bindings_dotnet.yml 
b/.github/workflows/ci_bindings_dotnet.yml
index bc5526c19..445e2e9a4 100644
--- a/.github/workflows/ci_bindings_dotnet.yml
+++ b/.github/workflows/ci_bindings_dotnet.yml
@@ -55,11 +55,15 @@ jobs:
           need-protoc: true
           need-rocksdb: true
           github-token: ${{ secrets.GITHUB_TOKEN }}
-      
+
+      # Useful for debugging
+      - name: Print Clippy version
+        working-directory: "bindings/dotnet"
+        run: cargo clippy --version
+
       - name: Clippy Check
         working-directory: "bindings/dotnet"
-        run: |
-          cargo clippy -- -D warnings
+        run: cargo clippy -- -D warnings
 
   test:
     runs-on: ${{ matrix.os }}
diff --git a/.github/workflows/ci_bindings_haskell.yml 
b/.github/workflows/ci_bindings_haskell.yml
index 355c36b6a..7313cc9b2 100644
--- a/.github/workflows/ci_bindings_haskell.yml
+++ b/.github/workflows/ci_bindings_haskell.yml
@@ -60,10 +60,14 @@ jobs:
           cabal update
       - name: Setup Rust toolchain
         uses: ./.github/actions/setup
+      # Useful for debugging
+      - name: Print Clippy version
+        working-directory: "bindings/haskell"
+        run: cargo clippy --version
+
       - name: Clippy Check
         working-directory: "bindings/haskell"
-        run: |
-          cargo clippy -- -D warnings
+        run: cargo clippy -- -D warnings
       - name: Restore haskell cache
         uses: actions/cache/restore@v6
         with:
diff --git a/.github/workflows/ci_bindings_java.yml 
b/.github/workflows/ci_bindings_java.yml
index 32a240ff3..5dea9ff39 100644
--- a/.github/workflows/ci_bindings_java.yml
+++ b/.github/workflows/ci_bindings_java.yml
@@ -94,6 +94,11 @@ jobs:
         working-directory: bindings/java
         run: |
           ./mvnw clean compile spotless:check
+      # Useful for debugging
+      - name: Print Clippy version
+        working-directory: bindings/java
+        run: cargo clippy --version
+
       - name: Check Clippy
         working-directory: bindings/java
         run: cargo clippy -- -D warnings
diff --git a/.github/workflows/ci_bindings_lua.yml 
b/.github/workflows/ci_bindings_lua.yml
index 62ab37b39..9c4b985a8 100644
--- a/.github/workflows/ci_bindings_lua.yml
+++ b/.github/workflows/ci_bindings_lua.yml
@@ -42,23 +42,32 @@ permissions:
 jobs:
   test:
     runs-on: ubuntu-latest
+
     steps:
       - uses: actions/checkout@v7
       - name: Setup lua toolchain
         run: |
           sudo apt-get update
           sudo apt-get install -y lua-busted luarocks liblua5.2-dev
+
       - name: Setup Rust toolchain
         uses: ./.github/actions/setup
+
+      # Useful for debugging
+      - name: Print Clippy version
+        working-directory: "bindings/lua"
+        run: cargo clippy --version
+
       - name: Clippy Check
         working-directory: "bindings/lua"
-        run: |
-          cargo clippy -- -D warnings
+        run: cargo clippy -- -D warnings
+
       - name: Build & Test
         working-directory: "bindings/lua"
         run: |
           sudo "PATH=$PATH" luarocks make
           busted test/opendal_test.lua
+
       - name: Run getting-started example
         working-directory: "bindings/lua"
         run: |
diff --git a/.github/workflows/ci_bindings_nodejs.yml 
b/.github/workflows/ci_bindings_nodejs.yml
index 8c5fcf8c3..a23ec52bb 100644
--- a/.github/workflows/ci_bindings_nodejs.yml
+++ b/.github/workflows/ci_bindings_nodejs.yml
@@ -76,6 +76,10 @@ jobs:
       - name: Check format
         run: pnpm exec prettier --check .
 
+      # Useful for debugging
+      - name: Print Clippy version
+        run: cargo clippy --version
+
       - name: Check Clippy
         run: cargo clippy -- -D warnings
 
diff --git a/.github/workflows/ci_bindings_ocaml.yml 
b/.github/workflows/ci_bindings_ocaml.yml
index bdecfbd39..03caa363e 100644
--- a/.github/workflows/ci_bindings_ocaml.yml
+++ b/.github/workflows/ci_bindings_ocaml.yml
@@ -50,10 +50,14 @@ jobs:
           need-depext: true
           need-pin: true
 
+      # Useful for debugging
+      - name: Print Clippy version
+        working-directory: "bindings/ocaml"
+        run: cargo clippy --version
+
       - name: Clippy Check
         working-directory: "bindings/ocaml"
-        run: |
-          cargo clippy -- -D warnings
+        run: cargo clippy -- -D warnings
 
   test:
     runs-on: ubuntu-22.04
diff --git a/.github/workflows/ci_bindings_php.yml 
b/.github/workflows/ci_bindings_php.yml
index 7751db6a2..fa1bfd4e5 100644
--- a/.github/workflows/ci_bindings_php.yml
+++ b/.github/workflows/ci_bindings_php.yml
@@ -62,10 +62,14 @@ jobs:
       - name: Setup Rust toolchain
         uses: ./.github/actions/setup
 
+      # Useful for debugging
+      - name: Print Clippy version
+        working-directory: "bindings/php"
+        run: cargo clippy --version
+
       - name: Clippy Check
         working-directory: "bindings/php"
-        run: |
-          cargo clippy -- -D warnings
+        run: cargo clippy -- -D warnings
 
       - name: Build opendal-php extension
         working-directory: "bindings/php"
diff --git a/.github/workflows/ci_bindings_python.yml 
b/.github/workflows/ci_bindings_python.yml
index 7ef72bd12..f61e7950b 100644
--- a/.github/workflows/ci_bindings_python.yml
+++ b/.github/workflows/ci_bindings_python.yml
@@ -39,13 +39,22 @@ jobs:
     runs-on: ubuntu-latest
     steps:
       - uses: actions/checkout@v7
+
       - name: Setup Rust toolchain
         uses: ./.github/actions/setup
+
       - name: Install uv
         uses: astral-sh/setup-uv@fac544c07dec837d0ccb6301d7b5580bf5edae39 # 
v8.2.0
         with:
           working-directory: "bindings/python"
+
       - uses: taiki-e/install-action@just
+
+      # Useful for debugging
+      - name: Print Clippy version
+        working-directory: "bindings/python"
+        run: cargo clippy --version
+
       - name: Run Lints
         working-directory: "bindings/python"
         run: just lint
@@ -54,22 +63,29 @@ jobs:
     runs-on: ubuntu-latest
     steps:
       - uses: actions/checkout@v7
+
       - name: Setup Rust toolchain
         uses: ./.github/actions/setup
+
       - name: Install uv
         uses: astral-sh/setup-uv@fac544c07dec837d0ccb6301d7b5580bf5edae39 # 
v8.2.0
         with:
           working-directory: "bindings/python"
+
       - uses: taiki-e/install-action@just
+
       - name: Setup taplo
         uses: taiki-e/install-action@v2
         with:
           tool: taplo-cli
+
       - name: Setup hawkeye
         run: curl --proto '=https' --tlsv1.2 -LsSf 
https://github.com/korandoru/hawkeye/releases/download/v6.5.1/hawkeye-installer.sh
 | sh
+
       - name: Regenerate stubs
         working-directory: "bindings/python"
         run: just stub-gen
+
       - name: Check diff
         run: git diff --exit-code
 
@@ -77,15 +93,18 @@ jobs:
     runs-on: ubuntu-latest
     steps:
       - uses: actions/checkout@v7
+
       - name: Setup Rust toolchain
         uses: ./.github/actions/setup
         with:
           need-protoc: true
           github-token: ${{ secrets.GITHUB_TOKEN }}
+
       - name: Setup uv
         uses: astral-sh/setup-uv@fac544c07dec837d0ccb6301d7b5580bf5edae39 # 
v8.2.0
         with:
           working-directory: bindings/python
+
       - name: Build with maturin
         shell: bash
         working-directory: "bindings/python"
@@ -93,6 +112,7 @@ jobs:
           uv venv --python=python3.11
           uv sync --all-extras
           uv run -- maturin develop
+
       # Examples back the snippets shown in the website guide. Running them 
keeps
       # the docs honest: a broken example fails CI instead of shipping bad 
docs.
       - name: Run guide examples
diff --git a/.github/workflows/ci_bindings_ruby.yml 
b/.github/workflows/ci_bindings_ruby.yml
index 5feb99492..86d5a2f20 100644
--- a/.github/workflows/ci_bindings_ruby.yml
+++ b/.github/workflows/ci_bindings_ruby.yml
@@ -57,10 +57,14 @@ jobs:
       - name: Setup Rust toolchain
         uses: ./.github/actions/setup
 
+      # Useful for debugging
+      - name: Print Clippy version
+        working-directory: "bindings/ruby"
+        run: cargo clippy --version
+
       - name: Clippy Check
         working-directory: "bindings/ruby"
-        run: |
-          cargo clippy -- -D warnings
+        run: cargo clippy -- -D warnings
 
       - name: Run lint
         working-directory: bindings/ruby
diff --git a/.github/workflows/ci_core.yml b/.github/workflows/ci_core.yml
index 9692601e6..3aadf701f 100644
--- a/.github/workflows/ci_core.yml
+++ b/.github/workflows/ci_core.yml
@@ -73,6 +73,11 @@ jobs:
           distribution: zulu
           java-version: 25
 
+      # Useful for debugging
+      - name: Print Clippy version
+        working-directory: core
+        run: cargo clippy --version
+
       - name: Cargo clippy
         working-directory: core
         run: cargo clippy --workspace --all-targets --all-features -- -D 
warnings
@@ -88,6 +93,12 @@ jobs:
         run: |
           rustup toolchain install ${OPENDAL_MSRV}
           rustup component add clippy --toolchain ${OPENDAL_MSRV}
+
+      # Useful for debugging
+      - name: Print Clippy version
+        working-directory: core
+        run: cargo +${OPENDAL_MSRV} clippy --version
+
       - name: Check
         working-directory: core
         run: cargo +${OPENDAL_MSRV} clippy -- -D warnings
@@ -102,10 +113,12 @@ jobs:
           - windows-latest
     steps:
       - uses: actions/checkout@v7
+
       - name: Setup Rust toolchain
         uses: ./.github/actions/setup
         with:
           github-token: ${{ secrets.GITHUB_TOKEN }}
+
       - name: Build
         working-directory: core
         run: cargo build --locked
@@ -114,10 +127,12 @@ jobs:
     runs-on: ubuntu-latest
     steps:
       - uses: actions/checkout@v7
+
       - name: Setup Rust toolchain
         uses: ./.github/actions/setup
         with:
           github-token: ${{ secrets.GITHUB_TOKEN }}
+
       # Examples back the snippets shown in the website guide. Running them 
keeps
       # the docs honest: a broken example fails CI instead of shipping bad 
docs.
       - name: Run guide examples
@@ -128,10 +143,12 @@ jobs:
     runs-on: ubuntu-latest
     steps:
       - uses: actions/checkout@v7
+
       - name: Checkout python env
         uses: actions/setup-python@v6
         with:
           python-version: "3.11"
+
       - name: Checkout java env
         uses: actions/setup-java@v5
         with:
@@ -157,12 +174,15 @@ jobs:
           - ubuntu-latest
           - macos-latest
           - windows-latest
+
     steps:
       - uses: actions/checkout@v7
+
       - name: Checkout python env
         uses: actions/setup-python@v6
         with:
           python-version: "3.11"
+
       - name: Checkout java env
         uses: actions/setup-java@v5
         with:
@@ -231,12 +251,15 @@ jobs:
   # We only support some services(see `available_services` below) for now.
   build_under_wasm:
     runs-on: ubuntu-latest
+
     steps:
       - uses: actions/checkout@v7
+
       - name: Setup Rust toolchain
         uses: ./.github/actions/setup
         with:
           github-token: ${{ secrets.GITHUB_TOKEN }}
+
       - name: Build
         working-directory: core
         run: |
@@ -252,6 +275,7 @@ jobs:
 
   unit:
     runs-on: ubuntu-latest
+
     steps:
       - name: cleanup
         run: |
@@ -267,11 +291,14 @@ jobs:
 
           sudo docker image prune --all --force
           sudo docker builder prune -a
+
       - uses: actions/checkout@v7
+
       - name: Checkout python env
         uses: actions/setup-python@v6
         with:
           python-version: "3.11"
+
       - name: Checkout java env
         uses: actions/setup-java@v5
         with:
@@ -297,6 +324,7 @@ jobs:
 
   doc-test:
     runs-on: ubuntu-latest
+
     steps:
       - name: cleanup
         run: |
@@ -312,11 +340,14 @@ jobs:
 
           sudo docker image prune --all --force
           sudo docker builder prune -a
+
       - uses: actions/checkout@v7
+
       - name: Checkout python env
         uses: actions/setup-python@v6
         with:
           python-version: "3.11"
+
       - name: Checkout java env
         uses: actions/setup-java@v5
         with:
diff --git a/.github/workflows/ci_integration_dav_server.yml 
b/.github/workflows/ci_integration_dav_server.yml
index 1757a730d..1d2f6ab8c 100644
--- a/.github/workflows/ci_integration_dav_server.yml
+++ b/.github/workflows/ci_integration_dav_server.yml
@@ -42,6 +42,11 @@ jobs:
       - name: Setup Rust toolchain
         uses: ./.github/actions/setup
 
+      # Useful for debugging
+      - name: Print Clippy version
+        working-directory: integrations/dav-server
+        run: cargo clippy --version
+
       - name: Cargo clippy
         working-directory: integrations/dav-server
         run: cargo clippy --all-targets --all-features -- -D warnings
diff --git a/.github/workflows/ci_integration_object_store.yml 
b/.github/workflows/ci_integration_object_store.yml
index 5abd67ff2..220130e0d 100644
--- a/.github/workflows/ci_integration_object_store.yml
+++ b/.github/workflows/ci_integration_object_store.yml
@@ -42,6 +42,11 @@ jobs:
       - name: Setup Rust toolchain
         uses: ./.github/actions/setup
 
+      # Useful for debugging
+      - name: Print Clippy version
+        working-directory: integrations/object_store
+        run: cargo clippy --version
+
       - name: Cargo clippy
         working-directory: integrations/object_store
         run: cargo clippy --all-targets --all-features -- -D warnings
diff --git a/.github/workflows/ci_integration_parquet.yml 
b/.github/workflows/ci_integration_parquet.yml
index d45d40e28..ef67b43e3 100644
--- a/.github/workflows/ci_integration_parquet.yml
+++ b/.github/workflows/ci_integration_parquet.yml
@@ -42,6 +42,11 @@ jobs:
       - name: Setup Rust toolchain
         uses: ./.github/actions/setup
 
+      # Useful for debugging
+      - name: Print Clippy version
+        working-directory: integrations/parquet
+        run: cargo clippy --version
+
       - name: Cargo clippy
         working-directory: integrations/parquet
         run: cargo clippy --all-targets --all-features -- -D warnings
diff --git a/.github/workflows/ci_integration_unftp_sbe.yml 
b/.github/workflows/ci_integration_unftp_sbe.yml
index ecc18eb90..2ac141f4c 100644
--- a/.github/workflows/ci_integration_unftp_sbe.yml
+++ b/.github/workflows/ci_integration_unftp_sbe.yml
@@ -46,6 +46,11 @@ jobs:
           need-protoc: true
           github-token: ${{ secrets.GITHUB_TOKEN }}
 
+      # Useful for debugging
+      - name: Print Clippy version
+        working-directory: integrations/unftp-sbe
+        run: cargo clippy --version
+
       - name: Cargo clippy
         working-directory: integrations/unftp-sbe
         run: cargo clippy --all-targets --all-features -- -D warnings
diff --git a/.github/workflows/ci_odev.yml b/.github/workflows/ci_odev.yml
index 2508ee0c3..ab1910b75 100644
--- a/.github/workflows/ci_odev.yml
+++ b/.github/workflows/ci_odev.yml
@@ -43,6 +43,11 @@ jobs:
         with:
           github-token: ${{ secrets.GITHUB_TOKEN }}
 
+      # Useful for debugging
+      - name: Print Clippy version
+        working-directory: dev
+        run: cargo clippy --version
+
       - name: Cargo clippy
         working-directory: dev
         run: cargo clippy --all-targets --all-features -- -D warnings

Reply via email to