mirror of
https://github.com/fish-shell/fish-shell.git
synced 2026-04-19 23:21:15 -03:00
CI runs show warnings like ubuntu-32bit-static-pcre2 Unexpected input(s) 'targets', valid inputs are [''] This is about the rust-toolchain action, which is a composite action, see https://docs.github.com/en/actions/tutorials/create-actions/create-a-composite-action not a full workflow https://docs.github.com/en/actions/how-tos/reuse-automations/reuse-workflows Looks like composite actions specify inputs at top level. Also they should not need «on: ["workflow_call"]». The unexpected inputs are still forwared, so it happens to work. Fix the warnings.
21 lines
482 B
YAML
21 lines
482 B
YAML
name: Oldest Supported Rust Toolchain
|
|
|
|
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}}
|