From e78bdfa9fdb852cbedc92b11a4e89db0ec6ae48e Mon Sep 17 00:00:00 2001 From: Lee Smet Date: Wed, 28 Feb 2024 12:50:38 +0100 Subject: [PATCH] Install rustfmt action when installing rust in CI Signed-off-by: Lee Smet --- .github/workflows/ci.yaml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index 6aa308b..e68c892 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -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 }}