ci: use nightly toolchain for rustfmt

This commit is contained in:
daimond113 2024-10-30 20:01:15 +01:00
parent 7057211564
commit 76a78f462a
No known key found for this signature in database
GPG key ID: 3A8ECE51328B513C

View file

@ -11,7 +11,8 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: dtolnay/rust-toolchain@stable
# we use some nightly rustfmt features, so we need nightly toolchain
- uses: dtolnay/rust-toolchain@nightly
with:
components: clippy, rustfmt