Skip to content

Commit ee1955a

Browse files
committed
feat: swap set up rust step in lint-rust workflow to use dtolnay/rust-toolchain
1 parent 38261f2 commit ee1955a

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

{{cookiecutter.project_name}}/.github/workflows/lint-rust.yml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,8 +29,9 @@ jobs:
2929
uses: actions/checkout@v4
3030

3131
- name: Set up Rust
32-
run: |
33-
rustup component add rustfmt clippy
32+
uses: dtolnay/rust-toolchain@stable
33+
with:
34+
components: "rustfmt,clippy"
3435

3536
- name: Set up uv
3637
uses: astral-sh/setup-uv@v6

0 commit comments

Comments
 (0)