Skip to content

Determine minimum supported Rust version (MSRV) for workspace

Actions
Determine minimum supported Rust version (MSRV) for workspace for use in a job matrix.
v0.1.0
Latest
Star (2)

MSRV

Read MSRV from package or workspace manifest.

Usage

jobs:
  read_msrv:
    name: Read MSRV
    uses: actions-rust-lang/msrv/.github/workflows/msrv.yml@main

  build_and_test:
    needs:
      - read_msrv

    strategy:
      fail-fast: false
      matrix:
        version:
          - { name: msrv, version: "${{ needs.read_msrv.outputs.msrv }}" }
          - { name: stable, version: stable }

Drawbacks

  • Assumes all packages in workspace have same MSRV.

Determine minimum supported Rust version (MSRV) for workspace is not certified by GitHub. It is provided by a third-party and is governed by separate terms of service, privacy policy, and support documentation.

About

Determine minimum supported Rust version (MSRV) for workspace for use in a job matrix.
v0.1.0
Latest

Determine minimum supported Rust version (MSRV) for workspace is not certified by GitHub. It is provided by a third-party and is governed by separate terms of service, privacy policy, and support documentation.