diff --git a/.github/workflows/msrv.yml b/.github/workflows/msrv.yml index e503ab8a..3eb8b14c 100644 --- a/.github/workflows/msrv.yml +++ b/.github/workflows/msrv.yml @@ -34,7 +34,7 @@ jobs: # bumped on a minor version release: # # - abitrary >= 1.1.14 has an MSRV >= 1.63 - # - proptest >= 1.1.0 has an MSRV >= 1.60 + # - 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. @@ -43,21 +43,4 @@ jobs: # described in 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.64.. - - feature_powerset: - name: cargo check feature-powerset - 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.. - run: | - cd compact_str - cargo hack check --feature-powerset --optional-deps + cargo hack check --features bytes,markup,quickcheck,rkyv,serde,smallvec,proptest,arbitrary --manifest-path=compact_str/Cargo.toml --version-range 1.65.. diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml new file mode 100644 index 00000000..88484e5c --- /dev/null +++ b/.github/workflows/release.yml @@ -0,0 +1,29 @@ +on: + push: + tags: + - '*' + workflow_dispatch: + +name: Release + +env: + CARGO_TERM_COLOR: "always" + RUSTFLAGS: "-D warnings" + +jobs: + feature_powerset: + name: cargo check feature-powerset + 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.. + run: | + cd compact_str + cargo hack check --feature-powerset --optional-deps