Skip to content

Commit ff28046

Browse files
committed
ci: use rust-toolchain to sync rust version between local and ci operations
1 parent 4c6737a commit ff28046

2 files changed

Lines changed: 3 additions & 3 deletions

File tree

.github/workflows/ci.yaml

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -10,9 +10,7 @@ jobs:
1010
steps:
1111
- uses: actions/checkout@d632683dd7b4114ad314bca15554477dd762a938 # v4.2.0
1212
- name: Set up Rust
13-
uses: actions-rs/toolchain@8e603f32c5c6eeca5b1b2d9d1e7464d926082f1d # v1.0.0
14-
with:
15-
toolchain: stable
13+
run: rustup show
1614
- name: Format
1715
run: cargo fmt --check
1816
- name: Clippy

rust-toolchain.toml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
[toolchain]
2+
channel = "stable"

0 commit comments

Comments
 (0)