Skip to content

feat(ci): make rust version in ci configurable #3

feat(ci): make rust version in ci configurable

feat(ci): make rust version in ci configurable #3

Workflow file for this run

# Installs rust toolchain. In order to set/fix the version, edit lines 20 & 27.
on:
workflow_call:
inputs:
components:
description: "An optional parameter that will be sent to dtolnay/rust-toolchain."
required: false
type: string
jobs:
install-rust:
runs-on: starkware-ubuntu-latest-small
steps:
- uses: actions/checkout@v4
- name: install rust toolchain with given components
if: "${{ inputs.components != '' }}"
uses: dtolnay/rust-toolchain@master
with:
toolchain: stable
components: ${{ inputs.components }}

Check failure on line 20 in .github/workflows/install_rust.yml

View workflow run for this annotation

GitHub Actions / .github/workflows/install_rust.yml

Invalid workflow file

You have an error in your yaml syntax on line 20
- name: install rust toolchain without given components
if: "${{ inputs.components == '' }}"
uses: dtolnay/rust-toolchain@master
with:
toolchain: stable