Skip to content

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

feat(ci): make rust version in ci configurable

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

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

Check failure on line 15 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 15
- name: install rust toolchain with given components
if: "${{ inputs.components != '' }}"
- uses: dtolnay/rust-toolchain@master
with:
toolchain: stable
components: ${{ inputs.components }}
- name: install rust toolchain without given components
if: "${{ inputs.components == '' }}"
- uses: dtolnay/rust-toolchain@master
with:
toolchain: stable