Skip to content

Commit 91e254d

Browse files
committed
Use stable in CI for clippy, rustfmt. Update nightly for rustdoc.
1 parent a5f6aad commit 91e254d

File tree

3 files changed

+3
-7
lines changed

3 files changed

+3
-7
lines changed

.github/workflows/clippy.yml

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -11,10 +11,7 @@ jobs:
1111
runs-on: ubuntu-latest
1212
steps:
1313
- uses: actions/checkout@v4
14-
- uses: dtolnay/rust-toolchain@master
14+
- uses: dtolnay/rust-toolchain@stable
1515
with:
16-
# embedded-hal-async needs nightly.
17-
# Use a pinned version to avoid spontaneous breakages (new clippy lints are added often)
18-
toolchain: nightly-2023-10-14
1916
components: clippy
2017
- run: cargo clippy --all-features -- --deny=warnings

.github/workflows/rustdoc.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,6 @@ jobs:
1313
- uses: actions/checkout@v4
1414
- uses: dtolnay/rust-toolchain@master
1515
with:
16-
toolchain: nightly-2023-10-14
16+
toolchain: nightly-2024-07-26
1717
# tokio/net required to workaround https://github.com/tokio-rs/tokio/issues/6165
1818
- run: RUSTDOCFLAGS="--deny=warnings --cfg=docsrs" cargo doc --all-features --features tokio/net

.github/workflows/rustfmt.yml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,8 +12,7 @@ jobs:
1212
runs-on: ubuntu-latest
1313
steps:
1414
- uses: actions/checkout@v4
15-
- uses: dtolnay/rust-toolchain@master
15+
- uses: dtolnay/rust-toolchain@stable
1616
with:
17-
toolchain: nightly
1817
components: rustfmt
1918
- run: cargo fmt --check

0 commit comments

Comments
 (0)