diff --git a/.github/actions/fuzz_test/action.yaml b/.github/actions/fuzz_test/action.yaml index bad0a89fa242..9d161cb2dd3a 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 448f6f6679a5..03d4041f2c2c 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: