From 79b698f88b5f8e247df7280ccb52c2a8271a426c Mon Sep 17 00:00:00 2001 From: Ryan Dahl Date: Tue, 11 Jan 2022 22:03:12 -0500 Subject: [PATCH] error on warnings (#13344) --- .github/workflows/ci.yml | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 0b1f540d5e..40a693aef9 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -53,6 +53,7 @@ jobs: CARGO_TERM_COLOR: always RUST_BACKTRACE: full RUSTC_FORCE_INCREMENTAL: 1 + RUSTFLAGS: -D warnings steps: - name: Configure git @@ -146,11 +147,6 @@ jobs: service_account_key: ${{ secrets.GCP_SA_KEY }} export_default_credentials: true - - name: Error on warning - # TODO(piscisaureus): enable this on Windows again. - if: "!matrix.use_sysroot && !startsWith(matrix.os, 'windows')" - run: echo "RUSTFLAGS=-D warnings" >> $GITHUB_ENV - - name: Configure canary build if: | matrix.job == 'test' &&