Skip to content

Commit af030ce

Browse files
refactor: make Rust toolchain version configurable via input
1 parent 4b112e5 commit af030ce

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/workflows/rust-build.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -35,10 +35,10 @@ jobs:
3535
uses: actions/checkout@v4
3636

3737
- name: Install Rust toolchain
38-
uses: dtolnay/rust-toolchain@stable
38+
uses: dtolnay/rust-toolchain@${{ inputs.rust-version }}
3939
with:
4040
toolchain: ${{ inputs.rust-version }}
41-
components: clippy, rustfmt, cargo
41+
components: clippy, rustfmt
4242

4343
- name: Cache dependencies
4444
if: ${{ inputs.enable-cache }}

0 commit comments

Comments
 (0)