fix: bump pyo3 to 0.29.0 to clear RUSTSEC-2026-0176 / 0177 #33
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: Action Smoke Test | |
| on: | |
| pull_request: | |
| workflow_dispatch: | |
| inputs: | |
| version: | |
| description: Release tag to install (e.g., v1.2.3). Defaults to latest. | |
| required: false | |
| default: latest | |
| permissions: | |
| contents: read | |
| jobs: | |
| smoke: | |
| name: Action Smoke Test (${{ matrix.os }}) | |
| runs-on: ${{ matrix.os }} | |
| strategy: | |
| fail-fast: false | |
| matrix: | |
| include: | |
| - os: ubuntu-latest | |
| local_binary: target/release/pickle-fuzzer | |
| - os: macos-latest | |
| local_binary: target/release/pickle-fuzzer | |
| - os: windows-latest | |
| local_binary: target/release/pickle-fuzzer.exe | |
| defaults: | |
| run: | |
| shell: bash | |
| steps: | |
| - name: Checkout code | |
| uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2 | |
| - name: Install Rust toolchain | |
| if: ${{ github.event_name == 'pull_request' }} | |
| uses: dtolnay/rust-toolchain@631a55b12751854ce901bb631d5902ceb48146f7 | |
| with: | |
| toolchain: stable | |
| - name: Build local binary | |
| if: ${{ github.event_name == 'pull_request' }} | |
| run: cargo build --release --locked --bin pickle-fuzzer | |
| - name: Install pickle-fuzzer | |
| uses: ./ | |
| with: | |
| version: ${{ github.event_name == 'workflow_dispatch' && github.event.inputs.version || '' }} | |
| binary_path: ${{ github.event_name == 'pull_request' && matrix.local_binary || '' }} | |
| mode: cli | |
| install_only: true | |
| - name: Verify version | |
| run: pickle-fuzzer --version | |
| - name: Generate samples | |
| uses: ./ | |
| with: | |
| version: ${{ github.event_name == 'workflow_dispatch' && github.event.inputs.version || '' }} | |
| binary_path: ${{ github.event_name == 'pull_request' && matrix.local_binary || '' }} | |
| mode: cli | |
| output_dir: samples | |
| samples: 5 | |
| protocol: 4 | |
| - name: Verify samples | |
| run: | | |
| test -f samples/0.pkl | |
| ls -la samples | |
| atheris: | |
| name: Action Smoke Test (atheris) | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout code | |
| uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2 | |
| - name: Run Atheris harness | |
| uses: ./ | |
| with: | |
| mode: atheris | |
| harness: python/examples/ci-harness.py | |
| harness_args: "-max_total_time=5" |