mirror of
https://github.com/denoland/deno.git
synced 2024-11-21 15:04:11 -05:00
error on warnings (#13344)
This commit is contained in:
parent
f955afc5ea
commit
79b698f88b
1 changed files with 1 additions and 5 deletions
6
.github/workflows/ci.yml
vendored
6
.github/workflows/ci.yml
vendored
|
@ -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' &&
|
||||
|
|
Loading…
Reference in a new issue