Skip to content

fuzz: Temporarily disable scheduled runs (#391) #8

fuzz: Temporarily disable scheduled runs (#391)

fuzz: Temporarily disable scheduled runs (#391) #8

Workflow file for this run

on:
push:
branches:
- main
pull_request:
paths:
- 'compact_str/**'
- '.github/workflows/msrv.yml'
- '!CHANGELOG.md'
- '!**/README.md'
workflow_dispatch:
name: MSRV
env:
CARGO_TERM_COLOR: "always"
RUSTFLAGS: "-D warnings"
jobs:
msrv:
name: cargo check msrv 1.59..
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Install toolchain
run: rustup toolchain install stable --no-self-update --profile minimal
- name: Install cargo hack
uses: taiki-e/install-action@cargo-hack
- uses: Swatinem/rust-cache@v2
- name: cargo test msrv..
# Note: we exclude both `arbitrary` and `proptest` from here because their MSRVs were both
# bumped on a minor version release:
#
# - abitrary >= 1.1.14 has an MSRV >= 1.63
# - proptest >= 1.1.0 has an MSRV >= 1.65
#
# Instead of pinning to a specific version of `arbitrary` or `proptest`, we'll let user's
# deps decide the version since the API should still be semver compatible.
#
# Note2: Even though our MSRV is 1.59, we only test from 1.60 because we hit the issue
# described in <https://github.com/rust-lang/cargo/issues/10189> when using 1.59.
run: |
cargo hack check --features bytes,markup,quickcheck,rkyv,serde,smallvec --manifest-path=compact_str/Cargo.toml --version-range 1.60..
cargo hack check --features bytes,markup,quickcheck,rkyv,serde,smallvec,proptest,arbitrary --manifest-path=compact_str/Cargo.toml --version-range 1.65..