Skip to content

Commit

Permalink
error on warnings (denoland#13344)
Browse files Browse the repository at this point in the history
  • Loading branch information
ry committed Jan 12, 2022
1 parent f955afc commit 79b698f
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,7 @@ jobs:
CARGO_TERM_COLOR: always
RUST_BACKTRACE: full
RUSTC_FORCE_INCREMENTAL: 1
RUSTFLAGS: -D warnings

steps:
- name: Configure git
Expand Down Expand Up @@ -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' &&
Expand Down

0 comments on commit 79b698f

Please sign in to comment.