Skip to content

Commit 1ec0085

Browse files
committed
ci: fix Rust setup action in GitHub workflow
- Replaced nonexistent `rust-lang/setup-rust` with `actions-rs/toolchain@v1` - Ensures stable Rust toolchain, Clippy, and rustfmt are installed in CI - Temporary config.toml created so unit tests and doctests pass - CI runs on push to any branch and PRs targeting main/dev
1 parent be2f26e commit 1ec0085

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/rust-ci.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ jobs:
2525

2626
# 2️⃣ Set up Rust toolchain using latest supported action
2727
- name: Set up Rust
28-
uses: rust-lang/setup-rust@v2
28+
uses: actions-rs/toolchain@v1
2929
with:
3030
toolchain: stable
3131
profile: minimal

0 commit comments

Comments
 (0)