Skip to content

Commit a243cdf

Browse files
committed
[workflow] Switch back to manual rustup invocation
The actions-rs workflow appears to be unmaintained. We can still install minimal Rust toolchain components with rustup.
1 parent fc4baa2 commit a243cdf

1 file changed

Lines changed: 3 additions & 5 deletions

File tree

.github/workflows/ci.yml

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -32,11 +32,9 @@ jobs:
3232
- uses: actions/checkout@v4
3333

3434
- name: Setup rust
35-
uses: actions-rs/toolchain@v1
36-
with:
37-
profile: minimal
38-
toolchain: ${{ matrix.toolchain }}
39-
components: rustfmt, clippy
35+
run: |
36+
rustup toolchain install --profile minimal -c rustfmt,clippy ${{ matrix.toolchain }} && \
37+
rustup default ${{ matrix.toolchain }}
4038
4139
- name: Install uv
4240
uses: astral-sh/setup-uv@v5

0 commit comments

Comments
 (0)