Skip to content

Commit 501d61b

Browse files
Copilot0xrinegade
andcommitted
Update GitHub Actions to use latest stable Rust and add rust-toolchain.toml
Co-authored-by: 0xrinegade <[email protected]>
1 parent 6397660 commit 501d61b

File tree

3 files changed

+6
-1
lines changed

3 files changed

+6
-1
lines changed

.github/workflows/benchmarks.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ jobs:
1717
uses: actions/checkout@v4
1818

1919
- name: Install Rust
20-
uses: actions-rs/toolchain@v1
20+
uses: dtolnay/rust-toolchain@stable
2121
with:
2222
toolchain: stable
2323
override: true

.github/workflows/ci.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -63,6 +63,7 @@ jobs:
6363
with:
6464
profile: minimal
6565
toolchain: stable
66+
6667
- name: Cache dependencies
6768
uses: actions/cache@v4
6869
with:

rust-toolchain.toml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
[toolchain]
2+
channel = "stable"
3+
components = ["rustfmt", "clippy"]
4+
targets = ["x86_64-unknown-linux-gnu", "x86_64-apple-darwin", "x86_64-pc-windows-gnu"]

0 commit comments

Comments
 (0)