Skip to content

Commit

Permalink
ci: bring back toolchain
Browse files Browse the repository at this point in the history
  • Loading branch information
shumkov committed Nov 7, 2023
1 parent 1f14eb2 commit 4eeba04
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
5 changes: 5 additions & 0 deletions .github/actions/rust/action.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -21,6 +25,7 @@ runs:
- uses: dtolnay/rust-toolchain@master
name: Install Rust toolchain
with:
toolchain: ${{ inputs.toolchain }}
target: ${{ inputs.target }}
components: ${{ inputs.components }}

Expand Down
2 changes: 1 addition & 1 deletion rust-toolchain.toml
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
[toolchain]
# Rust version the same as in /README.md
channel = "1.73"
channel = "stable"

0 comments on commit 4eeba04

Please sign in to comment.