Skip to content

Commit

Permalink
ci: Pin the nightly version to rust 1.84 for fuzz (#5546)
Browse files Browse the repository at this point in the history
  • Loading branch information
Xuanwo authored Jan 15, 2025
1 parent a8b793b commit 8dacff2
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions .github/actions/fuzz_test/action.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand All @@ -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
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/test_fuzz.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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" }
Expand All @@ -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:
Expand Down

0 comments on commit 8dacff2

Please sign in to comment.