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