diff --git a/.github/actions/rust/action.yaml b/.github/actions/rust/action.yaml index b8052b4cf40..4d57c414ea1 100644 --- a/.github/actions/rust/action.yaml +++ b/.github/actions/rust/action.yaml @@ -2,6 +2,10 @@ name: "Rust Dependencies" description: "Install dependencies" inputs: + toolchain: + description: Rust toolchain to use, stable / nightly / beta, or exact version + # The same as in /README.md + default: "stable" target: description: Target Rust platform required: false @@ -21,6 +25,7 @@ runs: - uses: dtolnay/rust-toolchain@master name: Install Rust toolchain with: + toolchain: ${{ inputs.toolchain }} target: ${{ inputs.target }} components: ${{ inputs.components }} diff --git a/rust-toolchain.toml b/rust-toolchain.toml index cc9a89e4c5b..5131613da0a 100644 --- a/rust-toolchain.toml +++ b/rust-toolchain.toml @@ -1,3 +1,3 @@ [toolchain] # Rust version the same as in /README.md -channel = "1.73" +channel = "stable"