Skip to content

Commit 815516b

Browse files
committed
ci(lint): Use unpinned nightly and add rustfmt component
1 parent 4093a36 commit 815516b

File tree

1 file changed

+4
-6
lines changed

1 file changed

+4
-6
lines changed

.github/workflows/lint.yml

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -8,13 +8,11 @@ jobs:
88
runs-on: ubuntu-latest
99
steps:
1010
- uses: actions/checkout@v4
11-
- uses: dtolnay/rust-toolchain@master
11+
# cargo udeps uses `-Z binary-dep-depinfo`
12+
# "the option `Z` is only accepted on the nightly compiler"
13+
- uses: dtolnay/rust-toolchain@nightly
1214
with:
13-
# Need feature(stdsimd) until config-rs can be upgraded.
14-
# https://github.com/mehcode/config-rs/issues/531
15-
# https://github.com/rust-lang/rust/issues/27731#event-11707724027
16-
toolchain: nightly-2024-09-01
17-
components: clippy
15+
components: clippy, rustfmt
1816
- uses: Swatinem/rust-cache@9d47c6ad4b02e050fd481d890b2ea34778fd09d6 # v2.7.8
1917
with:
2018
key: ${{ matrix.os }}

0 commit comments

Comments
 (0)