From a31d869a6ffee9bc1456435bb6d8578fe9c9c5c3 Mon Sep 17 00:00:00 2001 From: Aditya Bisht Date: Sun, 15 Sep 2024 18:02:39 +0530 Subject: [PATCH] fix: github action --- .github/workflows/build-fmt.yml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.github/workflows/build-fmt.yml b/.github/workflows/build-fmt.yml index df36a2a9..0cb1b536 100644 --- a/.github/workflows/build-fmt.yml +++ b/.github/workflows/build-fmt.yml @@ -53,7 +53,9 @@ jobs: swap-storage: true - name: Build and check for warnings - run: cargo build --release -D warnings + env: + RUSTFLAGS: "-D warnings" + run: cargo build --release - name: Check formatting run: cargo fmt -- --check