Skip to content

Commit 3a89441

Browse files
committed
fix: use correct GitHub Action for Rust toolchain setup
Replace dtolnay/rust-action with actions-rust-lang/setup-rust-toolchain@v1 which is the correct and maintained action for setting up Rust in CI.
1 parent 0584352 commit 3a89441

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

.github/workflows/rust-ci.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ jobs:
2525
- uses: actions/checkout@v4
2626

2727
- name: Install Rust
28-
uses: dtolnay/rust-action@stable
28+
uses: actions-rust-lang/setup-rust-toolchain@v1
2929
with:
3030
components: rustfmt, clippy
3131

@@ -54,7 +54,7 @@ jobs:
5454
python-version: ${{ matrix.python-version }}
5555

5656
- name: Install Rust
57-
uses: dtolnay/rust-action@stable
57+
uses: actions-rust-lang/setup-rust-toolchain@v1
5858

5959
- name: Install maturin
6060
run: pip install maturin
@@ -96,7 +96,7 @@ jobs:
9696
python-version: '3.12'
9797

9898
- name: Install Rust
99-
uses: dtolnay/rust-action@stable
99+
uses: actions-rust-lang/setup-rust-toolchain@v1
100100

101101
- name: Install maturin
102102
run: pip install maturin

0 commit comments

Comments
 (0)