Install rustfmt action when installing rust in CI

Signed-off-by: Lee Smet <lee.smet@hotmail.com>
This commit is contained in:
Lee Smet
2024-02-28 12:50:38 +01:00
parent 3fa5b8a55c
commit e78bdfa9fd
+2 -2
View File
@@ -19,7 +19,7 @@ jobs:
- uses: actions/checkout@v4
- uses: dtolnay/rust-toolchain@stable
with:
components: clippy
components: clippy, rustfmt
- name: Build
run: cargo build --verbose
- name: Run tests
@@ -29,5 +29,5 @@ jobs:
args: --all -- --check
- uses: giraffate/clippy-action@v1
with:
clippy-flags: -- -D warnings
clippy-flags: -- -D warnings
github_token: ${{ secrets.GITHUB_TOKEN }}