This is an automated email from the ASF dual-hosted git repository.
xuanwo pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/opendal.git
The following commit(s) were added to refs/heads/main by this push:
new 8dacff2ef ci: Pin the nightly version to rust 1.84 for fuzz (#5546)
8dacff2ef is described below
commit 8dacff2efbbc37b50d4a64e04be27e4ed13aed84
Author: Xuanwo <[email protected]>
AuthorDate: Wed Jan 15 14:02:51 2025 +0800
ci: Pin the nightly version to rust 1.84 for fuzz (#5546)
---
.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: