diff --git a/.github/workflows/rust.yml b/.github/workflows/rust.yml index e55ec69..04908db 100644 --- a/.github/workflows/rust.yml +++ b/.github/workflows/rust.yml @@ -16,9 +16,13 @@ jobs: - name: Run tests run: cargo test - name: Run fmt checks - run: cargo fmt -- --check + run: | + rustup component add rustfmt + cargo fmt -- --check - name: Run lints - run: cargo clippy -- -D warnings + run: | + rustup component add clippy + cargo clippy -- -D warnings - name: Test (Debug) run: cargo test - name: Test (Release)