summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--.github/workflows/ci.yml6
1 files changed, 1 insertions, 5 deletions
diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml
index 0b1f540d5..40a693aef 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' &&