diff options
author | Ryan Dahl <ry@tinyclouds.org> | 2022-01-11 22:03:12 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-01-11 22:03:12 -0500 |
commit | 79b698f88b5f8e247df7280ccb52c2a8271a426c (patch) | |
tree | a349a9a34dcd05ab0b6c7c54b79e90541eb7aa27 | |
parent | f955afc5ead8ac59ead0f46610bfdf4ba1c51234 (diff) |
error on warnings (#13344)
-rw-r--r-- | .github/workflows/ci.yml | 6 |
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' && |