Skip to content

Commit

Permalink
build: deny warnings in CI (#839)
Browse files Browse the repository at this point in the history
  • Loading branch information
bartlomieju authored Sep 5, 2021
1 parent d11ee57 commit 2a6df5c
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 3 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,9 @@ jobs:
run: npm install --ci
working-directory: benchmarks

- name: Error on warning
run: echo "RUSTFLAGS=-D warnings" >> $GITHUB_ENV

- name: Cache
uses: actions/cache@v2
with:
Expand Down
2 changes: 0 additions & 2 deletions src/lib.rs
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
// Copyright 2020-2021 the Deno authors. All rights reserved. MIT license.

#![deny(warnings)]

#[macro_use]
extern crate log;

Expand Down

0 comments on commit 2a6df5c

Please sign in to comment.