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

xuanwo pushed a commit to branch pin-fuzz-test-version
in repository https://gitbox.apache.org/repos/asf/opendal.git

commit 1fcb4fbe6f77f7736277d19344b60608aa620e9b
Author: Xuanwo <[email protected]>
AuthorDate: Wed Jan 15 10:59:13 2025 +0800

    ci: Pin the nightly version to rust 1.84 for fuzz
    
    Signed-off-by: Xuanwo <[email protected]>
---
 .github/actions/fuzz_test/action.yaml | 4 ++--
 .github/workflows/test_fuzz.yml       | 6 +++---
 2 files changed, 5 insertions(+), 5 deletions(-)

diff --git a/.github/actions/fuzz_test/action.yaml 
b/.github/actions/fuzz_test/action.yaml
index bad0a89fa..9d161cb2d 100644
--- a/.github/actions/fuzz_test/action.yaml
+++ b/.github/actions/fuzz_test/action.yaml
@@ -16,7 +16,7 @@
 # under the License.
 
 name: Fuzz Test
-description: 'Fuzz test given setup and service'
+description: "Fuzz test given setup and service"
 inputs:
   setup:
     description: "The setup action for test"
@@ -41,7 +41,7 @@ runs:
           - name: Run Fuzz Test
             shell: bash
             working-directory: core/fuzz
-            run: cargo +nightly fuzz run ${{ inputs.target }} --features 
services-${{ inputs.service }} -- -max_total_time=120
+            run: cargo +nightly-2024-11-22 fuzz run ${{ inputs.target }} 
--features services-${{ inputs.service }} -- -max_total_time=120
             env:
               OPENDAL_TEST: ${{ inputs.service }}
         EOF
diff --git a/.github/workflows/test_fuzz.yml b/.github/workflows/test_fuzz.yml
index 448f6f667..03d4041f2 100644
--- a/.github/workflows/test_fuzz.yml
+++ b/.github/workflows/test_fuzz.yml
@@ -40,7 +40,7 @@ jobs:
     runs-on: ubuntu-latest
     strategy:
       matrix:
-        target: [ "fuzz_reader", "fuzz_writer" ]
+        target: ["fuzz_reader", "fuzz_writer"]
         cases:
           - { service: "memory", setup: "memory" }
           - { service: "fs", setup: "local_fs" }
@@ -54,8 +54,8 @@ jobs:
         shell: bash
         run: |
           sudo apt-get install -y libfuzzer-14-dev
-          rustup install nightly
-          cargo +nightly install cargo-fuzz
+          rustup install nightly-2024-11-22
+          cargo +nightly-2024-11-22 install cargo-fuzz
       - name: Fuzz
         uses: ./.github/actions/fuzz_test
         env:

Reply via email to