mirror of
https://github.com/fish-shell/fish-shell.git
synced 2026-04-22 10:11:13 -03:00
Extract a github action to reduce the number of references to our MSRV and stable (to be pinned in the next commit). While at it, use the MSRV for macOS builds; this means that we'll be less like accidentally to break the macOS build when bumping the MSRV. I don't think there is a reason for using 1.73 specifically, other than "it's the highest we can use on old macOS", so using an even older one should be fine.
23 lines
531 B
YAML
23 lines
531 B
YAML
name: Oldest Supported Rust Toolchain
|
|
|
|
on:
|
|
workflow_call:
|
|
inputs:
|
|
targets:
|
|
description: Comma-separated list of target triples to install for this toolchain
|
|
required: false
|
|
components:
|
|
description: Comma-separated list of components to be additionally installed
|
|
required: false
|
|
|
|
permissions:
|
|
contents: read
|
|
|
|
runs:
|
|
using: "composite"
|
|
steps:
|
|
- uses: dtolnay/rust-toolchain@1.70
|
|
with:
|
|
targets: ${{ inputs.targets }}
|
|
components: ${{ inputs.components}}
|