Skip to content

Commit

Permalink
minimal-versions: configure cmds (#35)
Browse files Browse the repository at this point in the history
  • Loading branch information
newpavlov committed Nov 13, 2023
1 parent 289c832 commit b08448e
Showing 1 changed file with 8 additions and 3 deletions.
11 changes: 8 additions & 3 deletions .github/workflows/minimal-versions.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,12 @@ on:
default: false
required: false
type: boolean
nightly_cmd:
type: string
default: cargo build --benches
stable_cmd:
type: string
default: cargo hack test --release --feature-powerset

jobs:
minimal-versions:
Expand All @@ -42,11 +48,10 @@ jobs:
toolchain: ${{ inputs.nightly }}
- run: rm ../Cargo.toml
- run: cargo update -Z minimal-versions
- name: Test benches build
run: cargo build --benches
- run: ${{ inputs.nightly_cmd }}
# Perform tests
- uses: dtolnay/rust-toolchain@master
with:
toolchain: ${{ inputs.toolchain }}
- uses: RustCrypto/actions/cargo-hack-install@master
- run: cargo hack test --release --feature-powerset
- run: ${{ inputs.stable_cmd }}

0 comments on commit b08448e

Please sign in to comment.