Skip to content

Commit 87401e3

Browse files
committed
Use nightly for formatting
1 parent 387d0ea commit 87401e3

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

.github/workflows/tests.yml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,12 @@ jobs:
1515
- uses: actions/setup-python@v4
1616
with:
1717
python-version: "3.10"
18+
19+
# toolchain choice needs to happen before cache: rustc version used as its cache key
20+
- uses: dtolnay/rust-toolchain@nightly
21+
with:
22+
components: rustfmt
23+
- uses: Swatinem/rust-cache@v2
1824
- uses: pre-commit/[email protected]
1925

2026
tests:

0 commit comments

Comments
 (0)