Skip to content

Commit b500a3c

Browse files
committed
Coax the CI build into a working state
- The cargo bench invocation wants rust 1.81 - setup-rust-toolchain doesn't install rustfmt unless we ask
1 parent f4e330f commit b500a3c

File tree

2 files changed

+5
-1
lines changed

2 files changed

+5
-1
lines changed

.github/workflows/rust.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,10 +16,14 @@ jobs:
1616

1717
- name: Install toolchain
1818
uses: actions-rust-lang/setup-rust-toolchain@v1.15.1
19+
with:
20+
components: rustfmt
1921

2022
- name: Check formatting
2123
run: cargo fmt --check
24+
2225
- name: Build
2326
run: cargo build --verbose --all-targets
27+
2428
- name: Run tests
2529
run: cargo test --verbose

rust-toolchain.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
11
[toolchain]
2-
channel = "1.79"
2+
channel = "1.81"

0 commit comments

Comments
 (0)